CSA · Question #298
Which type of scripts run in the browser?
The correct answer is A. UI Policies. UI Policies are client-side scripts that execute in the user's browser, dynamically controlling the behavior and visibility of fields on a form.
Question
Which type of scripts run in the browser?
Options
- AUI Policies
- BScript Include Scripts
- CAccess Control Scripts
- DBusiness Rule Scripts
How the community answered
(50 responses)- A88% (44)
- B2% (1)
- C4% (2)
- D6% (3)
Why each option
UI Policies are client-side scripts that execute in the user's browser, dynamically controlling the behavior and visibility of fields on a form.
UI Policies are designed to run on the client-side (in the browser) to dynamically change form information or the behavior of form fields based on specific conditions. They can make fields mandatory, visible, or read-only without requiring a server round trip.
Script Includes are server-side scripts that are reusable components, executed on the ServiceNow server, not in the browser.
Access Control Scripts are part of Access Control Lists (ACLs) and execute on the server to determine user permissions for records and fields.
Business Rule Scripts are server-side scripts that execute on the ServiceNow server when a record is inserted, updated, deleted, or queried.
Concept tested: Client-side scripting vs. Server-side scripting
Source: https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/list-fields/concept/c_UIPolicies.html
Topics
Community Discussion
No community discussion yet for this question.