SNOW-CAD User Interface Development Practice Question
Exhibit
Refer to the exhibit. ``` Error: GlideRecord is not defined Stack: onLoad() at client_script.js:1 ```
A developer sees the above error in the browser console when an incident form loads. What is the most likely cause?
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
✓
The onLoad client script uses GlideRecord, which is not available client-side.
The onLoad client script runs on the client side, where GlideRecord is not available. Using it directly in a client script causes the 'gliderecord is not defined' error. Option A is wrong because server-side scripts can use GlideRecord without error. Option C is wrong because 'GlideRecord' is spelled correctly. Option D is wrong because GlideRecord is not deprecated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The onLoad client script is running on the server instead of the client.
Why it's wrong here
The error stack shows client_script.js, indicating it's client-side.
- ✓
The onLoad client script uses GlideRecord, which is not available client-side.
Why this is correct
Client scripts must use GlideAjax to call server-side GlideRecord.
- ✗
The script uses a typo: 'GlideRecord' should be 'GlideRecord'.
Why it's wrong here
The error says 'GlideRecord is not defined', not a typo.
- ✗
GlideRecord has been deprecated and replaced by a newer API.
Why it's wrong here
GlideRecord is still available and not deprecated.
Go deeper
Related to this question
About these practice questions
This SNOW-CAD question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.