Introduction:
In this blog, we have explained how to configure the Choices column in Power Apps Portal and how to retrieve the selected options from the same.
This latest feature will help us to display the Choices column i.e. Multi-Select Option fields on Basic Forms.
To configure this feature in Power Apps Portal, we need to create new Site Setting with the name Control/EnableChoices and set the value to true, as shown below:
Once the Site Setting record is created as shown above, the Choices field will be visible on Basic Forms and user will be able to select the multiple options and submit the data.
Given below is the screenshot for the same:
We can also retrieve the selected options from the Multi-Select option set field.
Given below is the Liquid code to retrieve the selected options (label and value) from Certification field i.e. Choices field from the Entity List displayed.
Source code:
Conclusion:
In this way, the Choices field can be easily displayed and retrieved in Power Apps Portal by creating Site Setting record.