Workflow: Custom reports¶
The typical workflow for defining and running such custom reports is:
-
Create an
.xmlfile to return the results you want. For more information, see Creating a Custom Spreadsheet Report.- Optionally define an Excel .xls file to format the data the way you want. In the
.xmlfile, make sure to define the<report>tag"templatePath"attribute to point to the current.xlsfile).
- Optionally define an Excel .xls file to format the data the way you want. In the
-
Install the new report by using either of the following methods:
-
Copying the files to
user\apriori\version\watchpoint-report-defs -
Creating a
.zipfile from the modified.xmland.xlsfiles and clickingTools > Spreadsheet Reports > Install Spreadsheet Reports .
Copying a new report for the first time requires restarting aPriori ; subsequent update copies do not.
-
-
Run the report with Reports > Spreadsheet Reports
- Optional: You can run the custom report (or any system-defined report) from the command line. If you are running this report from the command line and never using it from the UI, you can skip the last two steps and generate the reports as described in "Running from the Command Line".
When you install your custom reports, they reside in your local aPriori user folder, such as:
-
C:\Users\myUserName\aPriori\14.1\watchpoint-report-defs -
They are added to the aPriori system-defined reports in
apriori_install\ext\cost-watchpoint-report\watchpoints