Question 1
Q1A developer needs to add a new 'High Priority' indicator icon next to a field on a UIM page. This icon should only appear if a specific boolean attribute in the page's struct data is true. The requirement is to implement this logic entirely within the UIM file without modifying server-side code. Which UIM element is most appropriate for conditionally rendering the icon?
Show answer & explanation
Correct answer: C
The element is the standard, compliant way to implement conditional rendering logic directly within a UIM page. It can evaluate expressions based on data available in the page context, such as a boolean attribute from a struct. Wrapping the element for the icon inside a block is the most direct and maintainable approach. Using JavaScript is possible but less declarative. A custom widget is overly complex for this task, and calling the server is inefficient and against the requirement of a client-side only solution.