ServiceNOW Application Developer
Terms in this set (30)
Place the cursor in a form field on form load
Generate alerts, confirmations, and messages
Populate a form field in response to another field's value
Highlight a form field
Validate form data
Modify choice list options
Hide/Show fields or sections
Are all examples of what?
Things client-scripts can do
Client Scripts execute client-side script logic when forms are:
onLoad Client Scripts are used to manipulate what?
A form's appearance or content
It is suggested to use Client Scripts sparingly because they can significantly impact form load times. True or false?
Form load and record data population happens before onLoad() Client Scripts execute. True or false?
What type of client scripts respond to field values of interest and modify another field's value or attributes?
What type of client scripts execute script logic when a form is submitted?
onSubmit Client Scripts are suggested to do what?
Validate field values
What are the different UI Types scripts can be applied to?
Mobile / Service Portal
What are the 4 available types in the "Type" field for Client Scripts?
You must reload SNOW browser windows when modifying client-side logic. True or false?
The record is not submitted to the server until the onSubmit Client Scripts complete execution and return true. True or false?
The onChange function has what 5 parameters?
What does the control parameter represent in the onChange function?
The field the Client Script is configured for
What does the isLoading parameter represent in the onChange function?
A boolean value indicating whether the change is occurring as part of a form load. Value is true if change is due to a form load. When forms load, all the field values on the form change as the record is loaded into the form.
What does the isTemplate parameter represent in the onChange function?
A boolean value indicating whether the change occurred due to population of the field by a template. Value is true if change is due to population from a template.
When a user selects a record to load, the form and form layout are rendered first before the fields are populated with values from the database. True or false?
When a user selects a record to load, the form and form layout are rendered first after the fields are populated with values from the database. True or false?
The record is submitted to the server before the onSubmit Client Scripts complete execution and returns true. True or false?
You don't have to reload SNOW browser windows when modifying client-side logic to utilized the updated logic. True or false?
Form load and record data population happens after onLoad() Client Scripts execute. True or false?
It is best practice to use Client Scripts often because they have low overhead and will not significantly impact form load times. True or false?
oldValue for onChange Client Scripts is set when the form loads. True or false?
When Client Scripts are of onChange Type, what extra field do they have over other Types of Client Scripts?
Field name (the field that it's checking for changes on)
Retrieve a field value on a form
Hide a field
Make a field read-only
Write a message on a form or a field
Add fields to a choice list
Remove fields from a choice list
All these functionalities come from what API?
Method calls from the GlideForm class all start with what?
Describe a field's Label
human friendly version of the field name which appears on forms
Describe a field's name
value used to reference the field in a script
Field names are always lowercase and never contain spaces. True or false?
Field names can be uppercase. True or false?