Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ReportTemplate.config sample below, the Classification and Application elements are used to identify report templates.

Classification = Report

A report is executed from the AssertWeb application, Application can be in: PartListReport, IllustrationReport, PartModuleReport, PartReport or according to custom profile definition.

Classification = Order

Similar to the report, but Application is in: Order.

Classification = Publication

When publication report templates are define, they are available in the publications repository, the editor may choose among several ones.

Note

As an exception, we use the publication process when making a report of a complete catalogue “download as Pdf“.

ReportTemplate.config sample

Code Block
<?xml version="1.0" encoding="utf-8" ?> 
  <ArrayOfReportTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <ReportTemplate>
      <!-- Name which is referred from profile.config -->
      <Application>VerPartModuleReport</Application>
      <!-- Name of template -->
      <ReportFile>VerAtlasCopcoPartModuleReport.mrt</ReportFile>
      <!-- Can be Report or Order depending on what report is to be referred -->
      <Classification>Report</Classification>
      <ReportName>Atlas Copco Preview Part Module report</ReportName>
      <!-- Key text to use in drop down in web viewer, default is pdf -->
      <ReportNameTextKey>BOMMultiLanguagesLandscape</ReportNameTextKey>
      <!-- Dump report data, schema and compiled report -->
      <DumpReportEnable>true</DumpReportEnable>
   </ReportTemplate>
</ArrayOfReportTemplate>

...