Templating and reporting
The record viewer page can be customized with templated scripts to show a view which can be created dynamically for each entity type/subsearch. When fully developed they can become quite rich, showing information coming from multiple templates and using logic to determine formatting and even 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.
In order to complete the tutorial you will need to:
Download and start the Preloaded demo from download.siren.io.
Install and configure jsreport .
You can now create your first template script.