By following these steps, you can create a preferences screen that allows users to select their interests using checkboxes with multiple selections and save their personalized choices, which serve as the foundation for personalized recommendations and content.
The “CheckBox” element is a basic selection element that allows users to make multiple selections from a list of options. Each option can be checked or unchecked independently, enabling users to select multiple choices at the same time. First, set up the table structure on the screen from the “Data Sources” section.
Switch to the “UI Design” module. Add a “Label” element to the page and enter “Your Interests” in the “Fixed Value” field. In the “Style” field of the “Styling” panel, set the font to “Heading 2.” Drag and drop the “Horizontal Stack” element onto the screen. Add a “CheckBox” element inside the “Horizontal Stack.” Type “Sports” in the “Label” field. In the “Styling” field, set the font to “Normal Text.” Click the three dots in the upper right corner and, in the “Rename” field, name the “CheckBox” elements appropriately to avoid confusion. Repeat the same steps for “Technology,” “Trip,” “Music,” and “Book.” Add a “Button” element and enter “Save” as the text. Connect it to the predefined “Save Record” action. Select the table and select all the columns that appear. Fill in the fields by following the steps: “Components,” the appropriate “CheckBox” element, and “checked.” For “KuserID,” select “Default,” “User,” and “Current Userid”; for the “Id” field, select “Default” and “New Guid.”
When the application is tested, the user can check the fields they are interested in from the options displayed on the screen. Each option can be selected or deselected independently. After making their selections, the user clicks the Save button to save their preferences to the system. The selected areas of interest are stored specifically for the user, and recommendations, content, or notifications within the application can be customized based on these preferences.