Scripting class Flashcards
Client side scripts are run on the browser and handle what kind of functions?
They can auto populate a field based on the value of another field
Show or hide form sections
They have access to data on forms and in lists
Server side scripts are generally used for what purpose
These typicall modify a database record or generate an event
These have access to the actual database unlike client side scripts
MID server scripts are generally used for what purpose
to integrate to a 3rd party application
The syntax editor uses color coding including Green, Purple, and Blue. What do each of these colors mean?
Green are comments
Purple are JavaScript commands
Blue are strings and reserved words
What is the keyboard shortcut to display a list of valid elements at the cursor’s current position?
control + spacebar at the beginning of a line
What is the keyboard shortcut to list methods for a class?
period after a valid class name
What is the keyboard shortcut to list expected parameters
Open parenthesis after a valid class, function, or method name
Do properties that have been locally declared appear in the context-sensitive help?
Yes they do
Is the following class used on the client or server side:
GlideAjax
Client Side
Is the following class used on the client or server side:
Glide Aggregate
Server - Side
Is the following class used on the client or server side:
GlideForm
Client - Side
Is the following class used on the client or server side:
GlideDateTime
Server Side
Is the following class used on the client or server side:
GlideList
Client-side
Is the following class used on the client or server side:
GlideElement
Server - side
Is the following class used on the client or server side:
GlideRecord
Client - Side
Is the following class used on the client or server side:
GlideRecord
Server - Side
Is the following class used on the client or server side:
GlideUser
Client-Side
Is the following class used on the client or server side:
GlideSystem
Server-Side
Is the following class used on the client or server side:
spModal
Client-Side
Is the following class used on the client or server side:
JSON
Server-Side
Is the following class used on the client or server side:
Workflow
Server-side
A client script manages the behavior of forms, fields, and lists in real time including the following:
- Make fields mandatory
- set one field in response to another
- modify choice of list options
- hide/show form sections
- display an alert
- hide fields
- prohibit list editing
These execute client side
When there are multiple client scripts executing what order do they go in?
This is only an issue if they are on the same table and they will execute based on their order number from lowest to highest.
How does an onLoad() client script work
This script runs when a form loads and before control is given to the user. It is typically used to manipulate a form’s appearance or content on screen.
Users are not able to modify the form while an onLoad script executes
