Scripts - WorkView - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Premier

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

The Scripts tab allows you to configure scripts that are attached to specific WorkView object states by providing code or creating the script in a user-friendly, point-and-click environment of Custom Action Rule System.

Scripts and rules can be written and attached to the OnLoad, OnFocus, or OnBlur object states.

Note: One script and one rule can be attached for the same event. In such case, the script is always executed first.

To create a script for an object state:

  1. In the Scripts tab, within the Properties pane, select the state you would like to associate with a script from the Scripts drop-down list.
  2. Set Handler Type to Script.
  3. Click Add. A script editor will be displayed.
  4. Enter the script in the script editor.

To create a rule, follow instructions in Configuring Rules.

You can modify a script by double-clicking on it or by selecting it and clicking Modify.

You can delete a script by selecting it and clicking Remove.

The following script events are available for a view:

Event

Description

OnFocus

This event is triggered when a user clicks on the tab of a view in the Client.

Note:

This is not supported for screens.

OnBlur

This event is triggered when a user navigates from one view tab to another view tab on an object with multiple tabs.

Note:

This is not supported for screens.

OnLoad

This event is triggered when a view or screen is loaded for an object.