Element Details: Action.Pre-Action+Javascript
 Back


Available in: Logi Info Source code name: Action.PreActionJavascriptIntroduced in: 12.6

Action.PreActionJavascript runs browser-side javascript before the parent Action is run. This enables custom code to be run prior to that Action.

The parent Action will only be run when the custom javascript returns value true. For example:

return true;

Return false, or a different value, or nothing at all to abort running the parent Action.



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
Javascript
UserDefined
Javascript code.
ScriptFile
UserDefined
Specifies the script file. If the script file is in the SupportFiles, no path is necessary. Otherwise, specify a full file system path location.



PARENT ELEMENTS

Click element to drill down for more information.

Action.EmailReport
Action.Exit
Action.Export CSV
Action.Export Native Excel
Action.Export Native Word
Action.Export PDF
Action.Export Word Or Excel
Action.Export XML
Action.Google Spreadsheet
Action.Javascript
Action.Link
Action.Process
Action.Refresh Element
Action.Report
Action.Show Element
Action.Template


CHILD ELEMENTS

Click element to drill down for more information.

Additional Script File


 Back to top


 Chart Debug