You can add scripts to a range of elements at various levels in Reportal:
- Report level - at the Report Level you can define your Permission script and implement common functions available in a Codelibrary script.
- Page level - at the Page level you can add a script that runs once the report page is submitted. This script is primarily used to validate values and combinations of values in input controls on the page. You can also use scripting to hide a page from, for example, a particular role.
- Parameters - parameters have domain scripts, mask scripts and filter summary scripts.
- Visual Components - all visual components have a Hide expression. Additionally, component definitions for the following components can be changed dynamically using a render script:
- Tables
- Charts
- Gauges
- Verbatim Tables
- Texts
- Hit Lists
- Admin menu
- Admin menu-like options in navigator
- Filters - filter expressions can be built dynamically from a script by adding Filter Scripts within the Filter Toolbox.