|
|
OverviewOnyx can print reports about the interview to give to participant. The Onyx page includes a Print Reports button. You must define the PDF files that will be printed. Creating Custom Reports (PDF)You should create a report in each of the languages that are required by your organization. At runtime, Onyx populates a dropdown list of the available report languages based on the report files that you have defined.
To create a PDF reportRepeat this procedure to create a PDF report for each language required by your organization.
How to name report filesThe filenames of PDF reports must conform to this configurable naming scheme: basename_language_country.pdf where,
Examples of valid report filenames:
Where to put report filesBy default, the PDF files for reports should be located in the WEB-INF/config/jade/resources directory. Based on the report files in the resources directory, Onyx "discovers" the available languages and displays them at runtime. No further configuration is required. You can change the resources directory by modifying this line in the WEB-INF/config/marble/module-config.properties file: WEB-INF/config/jade/module-config.properties How to get Onyx to complete form fields automaticallyAt runtime, Onyx can complete fields in your reports automatically. The mapping between fields in the PDF file for the report and Onyx variables is defined in WEB-INF/config/jade/module-config.properties. For a list of the Onyx variables that you can use in your report, see To view a list of Onyx variables. Here is the field-to-variable mapping for the onyx-demo application: WEB-INF/config/jade/module-config.properties |
Search Onyx Documentation |
Defining Interview Reports
Labels:
None