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

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

Scripts can be configured at the class level.

To configure a script for a class:

  1. With the class selected in the Repositories pane, select the Scripts tab in the Properties pane.
  2. Select the event you want to associate the script with from the Scripts drop-down list.

    If OnLoad is selected, the script affects the class's objects when they load in the viewer and fires before any configured view OnLoad scripts.

    If OnBeforeNavigate is selected, the script affects the class's object when a navigation action (First Object, Previous Object, Next Object, Last Object) is executed when viewing the object.

    If OnBeforeClose is selected, the script affects the class's object before the window the view is in closes.

    Note:

    The OnBeforeClose option is functional when using the Unity Client.

  3. From the Handler Type drop-down list, select either Script or Rule. The Script selection allows you to write a script that will be executed with the action. The Rule selection allows you to use the Custom Action Rules interface to configure rules and actions that will be executed.
  4. Click Add. A tab for the event will open
  5. Enter the script or configure the custom rule that you want to run for the selected class event.