Filtering Option Sets - Customizing the Selection of Option Sets in Forms
Administrators can customize the list of values available for selection in option sets. This means that only specific values from a larger list can be made available depending on an institution’s business case. This behavior can be achieved using PCF (PowerApps component framework). Administrators can create components and fields to provide customized experience to users when selecting data in forms.
- In the form designer, double-click the field in which you want to customize the list of values that can be displayed. The Field Properties dialog will be displayed.
- In the Controls tab, click:
- Select Filter Option Set and then click Add. The option Filter Option Set will be displayed in the Control area of the Field Properties dialog.
- In the Filter Option Set area, perform the following steps in the indicated fields:
- Option Set Field – Type the schema name of the field in which the option set values are available.
- Filter by – Click and select one of the following values:
- Schema Value - To filter option set values based on their schema equivalent value.
- Display Name - To filter option set values based on their display name.
- Filter type – Click and select one of the following values:
- Hide Selected Options – To hide the selected option values in the option set.
- Show Selected Options – To display the selected option values in the option set.
- OptionSet Values to filter – Type values in the option Bind to a static value.
Based on your selection in step 4b, type the schema or display names of values that you want to filter.
These options need to be separated using the piping character (|) and will be hidden or displayed to the user based on the selection in step 4c.
- Click the Hide Default Control option if your institution’s Dynamics 365 application supports custom controls. The configured controls and data will be displayed.
- Click OK to close the Field Properties dialog, and then click Publish, Save and Close.
The created custom controls will be available to users in your Anthology Reach implementation.