Templating and reporting
This document describes the usage of version 1 of Template scripts which is deprecated. For step-by-step instructions on how to create templates with version 2 see Templating and reporting. |
You can customize the record viewer page with templated scripts to show a view which can be created dynamically for each entity type/subsearch. When fully developed, they can show information from multiple templates and use logic to determine formatting and actions when links/buttons are pressed using embeddable react components.
For example, the following screenshots show templates in both a fictitious law enforcement scenario and in Siren’s classic investment/investor demo.
The code for these templates is available at the end of this template documentation and on the classic demo site respectively.
Pre-requisites
To complete the tutorial you will need to:
-
Download and start the pre-loaded demo from download.siren.io.
-
Install and configure jsreport .
Next steps
You can now create your first template script.