ServiceNow Certified Application Developer (CAD) Training Practice Test

Access More Questions
The g_form.getReference() function works in the Service Portal client script.
Correct Answer:
False
Explanation:
g_form.getReference() is part of the GlideForm API used on forms in the classic UI. Service Portal runs in a separate, Angular-based environment and does not expose the g_form object, so this method isn’t available in Service Portal client scripts. To resolve a reference value in the portal, you’d typically use a server call (such as GlideAjax or a Script Include) and bind the result in the portal widget instead. Hence, the statement is false.

Access more questions from this quiz

Continue to ServiceNow Certified Application Developer (CAD) Training Practice Test for more practice questions and the full quiz experience.

Access More Questions