Embedded Filter Script Properties - WorkView - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Premier

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

The following script events are available for embedded filters:

Event

Description

OnSelectionChanged

This event will fire when the item(s) selected in an embedded filter change. This will fire both when in and when out of edit mode.

OnBeforeOpenRelatedObject

This event is used to call a default view for a object when the row is double-clicked. If a view other than the default first tab is desired to display upon opening an object, the following call has to be made in the script: event.srcElement.RelatedView = "name of view", where “name of view” is the name of the desired view.

OnBeforeLookup

This event is used to apply constraints to the objects accessed when the filter is in edit mode and a lookup is initiated on a relationship attribute field. For example, you could be editing a list of objects with a Department attribute and an Employee attribute. Clicking the lookup icon for Employee on a row can now limit the filter results to only Employees with the Department attribute shown for the same row. Alternatively, with access to the parent view's data, constraints can be set using data from it.

OnAfterRefresh

The event is used to run a script after the embedded filter has refreshed.