- A
Create a UI Policy on the incident table with a client script that shows the button conditionally.
UI Policy can conditionally display UI elements and run client scripts.
- B
Create an Access Control Rule (ACL) on the incident table and attach a client script.
Why wrong: ACLs control access, not UI elements.
- C
Create a Business Rule on the incident table that injects a button via server-side code.
Why wrong: Business Rules run server-side and cannot directly modify client UI.
- D
Create a UI Action on the incident table with a client script and set the 'Show insert' condition.
Why wrong: UI Actions are for form buttons but not ideal for conditional display based on client script logic.
SNOW-CAD User Interface Development Practice Question
This SNOW-CAD practice question tests your understanding of user interface development. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A developer is asked to add a custom button to the Service Portal form for the 'incident' table. The button should trigger a client script that displays a confirmation dialog before submitting the form. Which approach should the developer use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Create a UI Policy on the incident table with a client script that shows the button conditionally.
Option A is correct because UI Policies in Service Portal allow you to define client-side conditions and scripts that can dynamically show or hide UI elements like buttons. By creating a UI Policy on the incident table with a client script, you can conditionally display a custom button that triggers a confirmation dialog before form submission, leveraging the client-side execution context without server round-trips.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a UI Policy on the incident table with a client script that shows the button conditionally.
Why this is correct
UI Policy can conditionally display UI elements and run client scripts.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Create an Access Control Rule (ACL) on the incident table and attach a client script.
Why it's wrong here
ACLs control access, not UI elements.
- ✗
Create a Business Rule on the incident table that injects a button via server-side code.
Why it's wrong here
Business Rules run server-side and cannot directly modify client UI.
- ✗
Create a UI Action on the incident table with a client script and set the 'Show insert' condition.
Why it's wrong here
UI Actions are for form buttons but not ideal for conditional display based on client script logic.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse UI Policies with UI Actions, thinking UI Actions are the only way to add buttons, but UI Policies are specifically designed for conditional client-side UI behavior, including showing buttons and triggering client scripts, which matches the requirement for a confirmation dialog before submission.
Detailed technical explanation
How to think about this question
UI Policies in ServiceNow are evaluated client-side in the browser, making them ideal for dynamic UI changes like showing a confirmation dialog without a server call. The client script attached to a UI Policy runs on the 'onLoad' or 'onChange' event, allowing you to manipulate the DOM or use GlideDialogWindow to display a custom confirmation. In Service Portal, UI Policies work with AngularJS widgets, so the script must use the spModal API (e.g., spModal.confirm) to show a dialog that can conditionally prevent form submission based on user input.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A security administrator must allow nursing staff to reach a patient records server while blocking access from the guest Wi-Fi VLAN. After applying an extended ACL, traffic is still blocked from nursing workstations. The ACL was applied outbound instead of inbound on the wrong interface. Questions like this test ACL direction and placement rules.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
User Interface Development — study guide chapter
Learn the concepts, then practise the questions
- →
User Interface Development practice questions
Targeted practice on this topic area only
- →
All SNOW-CAD questions
500 questions across all exam domains
- →
ServiceNow Certified Application Developer CAD study guide
Full concept coverage aligned to exam objectives
- →
SNOW-CAD practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SNOW-CAD practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Working with Data practice questions
Practise SNOW-CAD questions linked to Working with Data.
Platform Features and Integration practice questions
Practise SNOW-CAD questions linked to Platform Features and Integration.
Integrating and managing application data practice questions
Practise SNOW-CAD questions linked to Integrating and managing application data.
Automating application logic with business rules and scripts practice questions
Practise SNOW-CAD questions linked to Automating application logic with business rules and scripts.
Application development using ServiceNow Studio practice questions
Practise SNOW-CAD questions linked to Application development using ServiceNow Studio.
Creating and customizing tables and data practice questions
Practise SNOW-CAD questions linked to Creating and customizing tables and data.
Designing interfaces and user experiences practice questions
Practise SNOW-CAD questions linked to Designing interfaces and user experiences.
Core Application Development practice questions
Practise SNOW-CAD questions linked to Core Application Development.
User Interface Development practice questions
Practise SNOW-CAD questions linked to User Interface Development.
SNOW-CAD fundamentals practice questions
Practise SNOW-CAD questions linked to SNOW-CAD fundamentals.
SNOW-CAD scenario practice questions
Practise SNOW-CAD questions linked to SNOW-CAD scenario.
SNOW-CAD troubleshooting practice questions
Practise SNOW-CAD questions linked to SNOW-CAD troubleshooting.
Practice this exam
Start a free SNOW-CAD practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SNOW-CAD question test?
User Interface Development — This question tests User Interface Development — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Create a UI Policy on the incident table with a client script that shows the button conditionally. — Option A is correct because UI Policies in Service Portal allow you to define client-side conditions and scripts that can dynamically show or hide UI elements like buttons. By creating a UI Policy on the incident table with a client script, you can conditionally display a custom button that triggers a confirmation dialog before form submission, leveraging the client-side execution context without server round-trips.
What should I do if I get this SNOW-CAD question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More SNOW-CAD practice questions
- A company has a custom table 'u_training_course' with a reference field to 'sys_user' named 'u_instructor'. The requirem…
- A company has a custom table 'u_asset' with a reference field 'u_location' pointing to 'cmn_location'. When a user chang…
- A developer needs to create a new application scope. Which of the following is a best practice when defining the scope?
- An application has a custom table 'u_project' with a field 'u_status' (choice list: Not Started, In Progress, Completed)…
- A company has a custom table 'u_incident_task' that extends 'task'. The developer wants to add a field 'u_approval' that…
- Which TWO of the following are types of UI Policies? (Choose two.)
Last reviewed: Jun 11, 2026
This SNOW-CAD practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CAD exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.