<< Click to Display Table of Contents >>

Script Preview


Clicking on Preview Script in the pop-up menu that displays upon selecting and right-clicking on a component or multiple components in the Report window and Component Tree window will open up the Script Preview window that shows all the scripts inserted in the selected component or the selected component and its child component.

All scripts inserted into a component begin with SCRIPT_BEGIN .ComponentPath.EventName and end with SCRIPT_END.

The component path is shown in the tree of the component window. The ReportTemplate is represented as '.' (period).

To edit a specific component script in the Preview Script window, click Move To Script Editor on the right-click pop-up menu on the component.

Set up a script preview window preference

Preview Script window features including syntax highlighting, auto completion, tooltip display for JavaScript function arguments, and font can be configured using the Options dialog box. Click Editor > Preview Script in the Options dialog and use Environment and Font and Color menu.