Learn how to automatically generate Aggregate Report documents from reports in your Vault.

About Generating Aggregate Report Documents from Vault Reports

Vault SafetyDocs supports automatically generating aggregate report documents from Vault reports and linking them to related Aggregate Report Sections.

You can set up reports in your Vault to gather data such as custom interval line listings and custom tabulations, and then link them to Aggregate Report Sections where this data is needed. When you choose to generate a document from one of these reports, the system creates a document with data from the report and links it to the associated Aggregate Report Section. This process eliminates the need for manually running reports and uploading updated documents every time any information changes.

The following sections provide more details about the document generation process.

Prerequisite

Your Admin must enable Aggregate Report Management.

To automatically generate a document from a report, you must link the report to an Aggregate Report Section by completing the following steps:

  1. Go to the Aggregate Report record on which you want to link a report to a Section.
  2. Create Aggregate Report Sections.
    • If you are automatically generating Sections using a template and your Admin has completed the fields in the table below on the corresponding Template Item, the system automatically creates a Vault Report type Section and links it to the respective report.
    • If you are manually creating Sections, in the Create Aggregate Report Section dialog, select Vault Report.
  3. In the Details section, complete the following fields and select Save:
Field Description
Source Report The string of characters identifying the report from which this document will be generated.

From the report's URL, copy the 15-character string and paste it into this field. See the image below for reference.

Source Report Prompt If your report has additional parameters, this is the string of characters identifying the specific parameter related to the document you want to generate.

From the report's URL, copy the string of characters after the question mark (?) until the end of the URL and paste it into this field. See the image below for reference.

Report Format Select the format in which you want the document to be generated. The available options include the following:
  • PDF
  • Excel
  • Excel Template (Your report must have an Excel Template configured to use this option)

Source Report and Source Report Prompt in Report URL

Tokens for Source Report Prompts

If the report from which you are generating documents uses filters, you can use tokens in the Source Report Prompt field to represent the related field values. Every time you generate a document from this linked report, the system replaces the token with the most updated value of the field it represents. This process eliminates the need for manually updating the source report prompt every time some information changes.

Vault SafetyDocs supports the following dynamic tokens for source report prompts:

Token Source Field
${AggregateReport} Aggregate Report
${ProductFamily} Product Family
${DataPeriodStart} Data Period Start
${DataPeriodEnd} Data Period End
${HealthAuthority} Health Authority

This field applies to Local Sections only.

${ApplicableMarket} Applicable Market

This field applies to Local Sections only.

Generate Documents

Once the report has been linked to the Aggregate Report Section, go to the All Actions menu of that Section record and select Generate Vault Report Document.

Result

This action initiates the following:

  • The system uses the values entered in the related fields to identify which report to run.
  • The associated report is run and a document is generated in your Vault library with data from the report.
  • The document is linked back to the Aggregate Report Section in the Report Document field.

During the authoring process, if your Aggregate Report Sections have not reached the Complete state, you can initiate the Generate Vault Report Document action again to update this document. When the action is re-initiated, the system runs the associated report again and upversions the document with the updated details.