The Execute and edit JavaScript code window is displayed if Show Execute Window is selected.
When developing and debugging scripts on the desktop client, dashboard developers enter JavaScript into the execute window and call it to see how it functions. Scripts created in the execution window can be stored, saved, and recalled. Script execution results are displayed in the trace text box above the Execute and edit JavaScript code window.
After entering script into the window, use these buttons and controls to save, reuse, and test scripts:
Select a script—Displays the scripts saved by name
Save Code—Saves the script with a name entered in the text box
Call Code—Executes the script that is displayed in the execute window (Enter code or select a script from the drop-down list and click Call Code to execute the script. The syntax, results, and errors are displayed in the trace text box )
Delete Code—Removes saved scripts from the Select a script drop-down list