Inserting a cross reference to a non-DITA file

Last Updated : Jun 20, 2024 |
Prolog information
You can insert a cross-reference to a PDF or Excel spreadsheet. A user who views the HTML must have appropriate application installed to view the type of file you want to include. Therefore, include common file types, such as PDF or Excel.
Before you begin
Before you can link to a non-DITA file, like an Excel spreadsheet or PDF, you must do the following:
  • Import the file into Tridion Docs.
  • Include the file in the appropriate DITA map.
  1. Check out the topic in which you want to insert the cross reference.
  2. Place your cursor in the location where you want to add the cross reference and press Enter and insert the xref (cross reference) element.
    ADDITIONAL INFORMATION:
    Alternatively, from the toolbar, click the link icon () and select Cross Reference.
    STEP RESULT:
    The Cross reference (xref) dialog box is displayed.
  3. In the Cross reference (xref) dialog box, browse and select the file that you want to reference.
  4. Click Insert.
  5. For Excel spreadsheet or Word file, set the format attribute on the xref:
    1. Double-click or select the xref element.
    2. In the Attributes window, enter xslx, xsl, doc, or docx in the format field.
      ADDITIONAL INFORMATION:
      You do not need to set the format for PDFs. RWS supports PDF, Excel, and Word file formats.
    3. Click OK.