Question 16
You have a canvas app that allows users to view, select, and purchase products. The app uses a Gallery control to display products and checkboxes that allow users to select products.
When users select items from the product catalog, they move to a different screen to complete a purchase.
Users must be able to clear all product selections when they click the button.
You need to configure the button.
What should you do?
A. Use the Reset(Control) formula and pass the gallery control as a parameter to the Reset formula.
B. Use the Reload(Control) formula and pass the gallery control as a parameter to the Reload formula.
C. Use the ForAll() function to iterate through each item of the Gallery and clear user selections.
D. Set the OnCheck value to populate a collection and the OnUncheck value to remove the item from the collection. Clear collection when the user selects the button.