Capturing the file count in a publication

Last Updated : Apr 25, 2024 |
You can use the Tridion Docs workflow report to find the number of topics, maps, and images in a publication. You might need this information to plan for activities, such as review and conversion.
Note:
The file count from the workflow report is based on the publication baseline. The baseline includes all objects referenced in the publication, such as topics that you reuse from and content that might be excluded from the output using conditions. So the files in the baseline can include more objects than that available in the output.
Prolog information
  1. Log in to the Tridion Docs web interface.
  2. Click the Repository tab.
  3. Navigate to the folder that contains the publication for which you want to generate a workflow report.
    STEP RESULT:
    The page displays the contents of the folder in the right pane.
  4. Click the title of the publication for which you want to generate the report.
    ADDITIONAL INFORMATION:
    When you only select the box next to the title, the page does not display the details of the publication.
    STEP RESULT:
    The page displays versions in the lower right pane.
  5. Select the check box next to the publication version for which you want to generate the report, and then click Workflow in the toolbar of the lower right pane.
    STEP RESULT:
    The page displays a Workflow management window.
  6. In the Workflow management window, click use baseline information only, and click OK.
    STEP RESULT:
    A new window opens and the reports begins to display. A message displays to confirm if you want to load the details section of the report, as it can take several minutes to display depending on the number of objects in the publication.
  7. Click Cancel.
  8. To export the Details section of the workflow report:
    1. Click Download Statistics Report in the toolbar.
    2. Click Save in the File Download dialog box.
    3. Browse to and select a location to save the report, and then click Save.
    ADDITIONAL INFORMATION:
    Note:
    Do not click Send and Export or Export in the toolbar. These buttons export the publication, and not the report.
    STEP RESULT:
    The report is exported as a .csv file. This file does not include the Statistics section of the report.
  9. Open the statistics report you downloaded.
    STEP RESULT:
    The row count gives the number of objects in the publication. The objects include the topics, maps, and images.
  10. To find the topic count in the publication, do the following:
    1. Open the .csv file in Microsoft Excel.
    2. To sort by topics, click DataFilter, and in the Type column, select ISHModule.
    3. Take the count of the topics in the Title column.
      ADDITIONAL INFORMATION:
      Note:
      Ensure that you account the following topics only once:
      • Topics common to all programs: For example, Product names, Application names, Snap-in names, Variables, Languages
      • Topics common to specific project: For example, common steps, common terms, common uicontrol elements, common wintitle elements, documentation titles, legal page.
      • Topics reused from other projects: For example, common steps, common terms, common uicontrol elements, common wintitle elements.
    4. To find the topic count in all documents of a product, do the following:
      ADDITIONAL INFORMATION:
      1. Open the .csv file of the first document in Microsoft Excel, example, POS.
      2. Open the .csv file of the second document, copy all rows except the header row, and paste the rows in the first Excel sheet below the existing data. Similarly, copy the rows from remaining csv files of documents for the product into the first Excel file.
        You now have all the data from all documents in the product.
      3. Press Ctrl+A to select all the data and click Data, in the Data Tools group, click Remove Duplicates icon (.
      4. In the Remove Duplicates dialog box, click Unselect All, and select the GUID check box, and click OK.
        Click Remove duplicates and sort by GUID column
      5. To sort the data by topics, click DataFilter, and in the Type column, select ISHModule.
        The message in the footer displays <num1> of <num2> records found. Where, num1 is the topic count in all publications of the product. For example, in 340 of 420 records found, 340 is the total topic count.