Configuring Application Events - WorkView - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Premier

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

There are two types of scripts that can be executed at the application level. The OnApplicationLoadApplicationGlobal function allows you to execute a script the very first time the application is opened and is only executed once per Web Server start. The OnApplicationLoadApplicationSession function allows you to execute a script the first time and application is opened for a user's session.

Note:

In order to use Unity scripting, you must be licensed with the Unity Automation API license.

To configure a Unity script at the application level the first time:

  1. Select an application in the Repositories pane.
  2. Select the Events tab.
  3. Select an Event from the drop-down list. OnLoadApplicationGlobal and OnLoadApplicationSession are available.
  4. Select Unity Script and select a script from the drop-down. You can create a new script by selecting the drop-down on the right and then selecting New.
  5. Click Add. The Create Unity Script dialog box is displayed.
  6. Enter a Name and a Description for the script.
  7. Select the scripting Language you are going to use from the drop-down list.
  8. Click Next.
  9. Select the user group to which you want to grant rights.
  10. Click Add.
  11. Select the User Group and select the View check box to grant viewing rights and select Modify to grant modify rights.
  12. Add and configure additional user group as necessary.
  13. Click Next.
  14. Click Finish. A tab where the script can be written is displayed.

In addition you can disassociate a script by selecting it in the Events tab and clicking Remove.

Note:

When setting a boolean value, only True and False are valid values.

Note:

For more information on Unity Scripting, see Unity Scripting in the Hyland SDK.