Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
custom_report [2017/04/15 16:37] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Custom Reports ===== | ||
- | Custom reports are written in [[http:// | ||
- | |||
- | ---- | ||
- | ==== How to Create a Custom Report ==== | ||
- | |||
- | The best way to write your first custom report is to clone one of the existing reports in / | ||
- | |||
- | * Identify the websvc data set(s) you need for your report. You can use one or multiple websvc data set from [[WebSvc DataSet|WebSvc DataSet]]. | ||
- | * Write XSL, use www/ | ||
- | * Define report to config.properties: | ||
- | * Restart // | ||
- | |||
- | ==== Argument Definition ==== | ||
- | |||
- | //rptName// is the name of your report to be displayed in //Report// menu. Make sure escape space char by prefixing it with backslash " | ||
- | |||
- | // | ||
- | |||
- | * @CURSVR@ - to be replaced by current // | ||
- | * @SVRMGR@ - to be replaced by [[Server Manager Edition|SvrMgr]]' | ||
- | * @MODEL@ - to be replaced by current model name | ||
- | * @BATCHID@ - to be replaced by batch id passed as report param | ||
- | |||
- | The example above has //Y// in the middle of the definition, by setting this field to //Y//, the report will be displayed in //Report// menu. Otherwise the report will only be available from web. | ||
- | |||
- | |||
- | ==== Output Files ==== | ||
- | // | ||
- | |||
- | |||
- | ==== Access Custom Report ==== | ||
- | |||
- | Access the report with a browser with url: | ||
- | |||
- | http:// | ||
- | |||
- |