The g_form.getReference() function works in the Service Portal client script.

Master the ServiceNow CAD exam with our study tools. Use Flashcards and multiple choice questions, complete with hints and explanations to ace your exam!

Multiple Choice

The g_form.getReference() function works in the Service Portal client script.

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.

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.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy