CxAEReporter XML Examples
This topic shows the sample XML for a report configuration and the report module configuration.
Report Configuration XML
The following example shows the XML required to configure a report.
|
<?xml version="1.0" encoding="utf-16"?> <ReportConfig> <Setup> <Type>Native</Type> </Setup> <Config> <Title>CVS Report</Title> <Source> <Type>CVS</Type> <Svcs>CYGNET.FAC</Svcs> </Source> <Facility> <Filter>facility_id=*;</Filter> </Facility> <CVS> <Columns> <Col udc="RTLIQDIN" item="pointid" text="Liquid Flow Rate (Point ID)" format="" xRefFilter="" xRefFacAttr="" rollType="1" rollUnit="0" rollPer="0" rollTosu="0" lateDate="" /> </Columns> </CVS> </Config> <Output> <FileName>CVS Report</FileName> <FilePath>C:\Reports</FilePath> <FileStorageSource>1</FileStorageSource> <FileFormat>xlsx</FileFormat> <Append>3</Append> <EmailAddresses /> <StatusPoint /> <StoreInFile>True</StoreInFile> <EmailReport>False</EmailReport> <StoreStatusInPoint>False</StoreStatusInPoint> </Output> </ReportConfig> |
Module Configuration XML
The following example shows the XML required to configure the Report Module.
|
<ModuleConfig> <DefaultTemplate>\\CYGNET.STORAGE\Reporter\Template\template.xls</DefaultTemplate> <DefaultReportLocation>>\\CYGNET.STORAGE\Reporter\Reports</DefaultReportLocation> <DefaultStylesheet>\\CYGNET.STORAGE\Reporter\Template\stylesheet.xslt</DefaultStylesheet>
<MailServer>10.97.17.24</MailServer> <MailServerPort>25</MailServerPort> <MailServerEnableSsl>False</MailServerEnableSsl>
<MailServerUser></MailServerUser <MailServerPassword></MailServerPassword> <MailFrom>no-reply@127.0.0.1</MailFrom> <MailSubject>CygNet Report</MailSubject> <MailBody> Attached you will find the report that was scheduled for delivery to your email. If this email is in error, please let someone know as soon as possible. </MailBody> </ModuleConfig> |


