ProApp Designer - Release 14 (Package 27)

OnInsertFlyout Event

The OnInsertFlyout event is triggered when opening the InsertItem flyout and is supported in Table, Worksheet, and TreeTable controls. In the event handler, the admin can write custom scripts and use the setInsertFilterExpression API to apply a custom filter expression.

// creating a custom expression string

let expressionString = “classification EqualTo Item AND id NotEqualTo 8D58C2D8DC1649279E64CCF5BD2FF7A7";

// Refer to filterCollectionItems section on how to build your expression string

appStudioWizard.setInsertFilterExpression(controlName, expressionString, enforce);