SNOW-CAD User Interface Development Practice Question
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?
⚠ Common exam trap
A common mistake is to assume UI Policies can add custom buttons because they control client-side behavior. However, UI Policies only modify existing field properties; they cannot inject new UI elements. UI Actions are specifically designed for adding buttons and attaching client scripts to them.
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 Action on the incident table with a client script and set the 'Show insert' condition.
UI Actions in Service Portal are the standard mechanism for adding custom buttons to forms. By creating a UI Action on the incident table with a client script, the developer can add a button that triggers a confirmation dialog before form submission. UI Policies only control field attributes (e.g., visibility, mandatory) and cannot create new UI elements like buttons.
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 it's wrong here
Incorrect. UI Policies modify field properties (e.g., visibility, mandatory) based on conditions, but they cannot create new buttons. They are not designed to add UI elements like custom buttons.
- ✗
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 this is correct
Correct. UI Actions allow adding custom buttons to forms and attaching client scripts. By setting the 'Show insert' condition appropriately, the button can be displayed on the form and execute a client script that shows a confirmation dialog before submission.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SNOW-CAD question from scratch — 481 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.