OnSelectFlyout Event

The OnSelectFlyout event is triggered when opening the SelectItem flyout and is supported by the Item and Items controls. In this event handler, the admin can implement custom scripts and use the setSelectFilterExpression 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.setSelectFilterExpression(controlName, expressionString, enforce);