Annotated report with CLI

Post Reply
zhus
Newbie
Posts: 4
Joined: Thu Feb 09, 2017 9:59 am

Annotated report with CLI

Post by zhus »

Hi.

In docs there is noted that PDF report may be regular or annotated but I can not understand how to make report annotated by command line. Please help.

wbr, zhus.
bens
Advanced member
Posts: 252
Joined: Thu Mar 03, 2011 10:13 am

Re: Annotated report with CLI

Post by bens »

Annotated reports are "normal" reports created with a different report template. In the CLI you can pass the report template on the command line or in the config xml. The command line option is:

Code: Select all

-reportPDFTmpl <filename or full path to a report template>
        Location and name of the report template to use for creating 
        the report, overruling the 'config' location (if present)
In the config xml it's:

Code: Select all

<xs:element name="ReportTemplatePath" type="cf:type_PathType"
    maxOccurs="1" minOccurs="0">
 <xs:annotation>
  <xs:documentation>
   Path to a PitStop report template: if no template is specified the
   regular Enfocus report template is used.
  </xs:documentation>
 </xs:annotation>
</xs:element>
Setting either one of these to the annotated report path should get you what you need.
There are 2 annotated report shipped with server, in the Resources folder in the installation (on Mac that's inside the application bundle).
zhus
Newbie
Posts: 4
Joined: Thu Feb 09, 2017 9:59 am

Re: Annotated report with CLI

Post by zhus »

Thank you, it works.
One more question
viewtopic.php?f=18&t=1660
Post Reply