CSA practice question 24 of 35
What is the difference between UI Policy and UI Action?
Full set: 500 questionsA UI Policy is a client-side rule that dynamically changes the behavior of information on a form. Its primary function is to set fields to be mandatory, visible, or read-only based on specified conditions, typically without requiring any scripting. Conversely, a UI Action is used to add interactive elements like buttons, links, and context menu items to forms and lists. These actions can execute code and their visibility can be controlled, for example, making a custom "Save" button visible only to users with appropriate permissions.
A. This option incorrectly reverses the primary functions of UI Policies and UI Actions. UI Actions create interactive elements, while UI Policies control form field attributes.
1. ServiceNow Product Documentation - UI policies: "UI policies offer an alternative to client scripts for dynamically changing information on a form. Use UI policies to set fields on a form to mandatory, visible, or read-only." (ServiceNow Platform, UI policies, Tokyo release).
2. ServiceNow Product Documentation - UI actions: "UI actions add buttons, links, and context menu items on forms and lists, making the UI more interactive, customizable, and specific to user activities." (ServiceNow Platform, UI actions, Tokyo release).
3. ServiceNow Developer Site - UI Policy: In the "Client-Side Scripting" module, it states, "UI Policies are client-side logic which governs form and field behavior... Use UI Policies to make fields hidden, visible, read-only, and/or mandatory on a form."
4. ServiceNow Developer Site - UI Actions: In the "Server-Side Scripting" module, it explains, "UI Actions are UI elements that can be shown on a form or a list... Examples of UI Actions are form buttons, form context menu items, form links, list buttons, list context menu items, and list links."
Keep practicing
Take the free CSA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CSA practice questions
- Question 1What table acts as a staging area for records imported from a data source?
- Question 2Which one of the following is NOT a type of Visual Task Board?
- Question 3A customer has asked for the following updates to a form: * Make Resolution code mandator…
- Question 4What are the components that make up a filer condition? Choose 3 answers
- Question 5On a Form header, what is the three bar icon called?
- Question 6When searching using the App Navigator search field, what can be returned? (Choose four.)
