Application Development Module 4 Flashcards
True/False All new tables have a default list and form?
True
Requirements for a visually appealing or usable form
Keep the form as short as possible
Forms should be read from top to bottom
Important fields at the top
Reference number/name at the top
Place two column layouts at the top of the form or section
Use full width, single column layout for larger text fields
Use annotations and sections to break up long forms
What should be considered in Form Design?
Logical form layout
Logical groupings of fields in sections
Inclusion of appropriate fields
Meaningful labels
Tool tips to offer guidance
Real time feedback through client scripts and ui action scripts
Effective use of color
User Views for selective data display
Differentiation between mobile and desktop users
What are scripting methods to give immediate feedback?
g_form.showFieldMsg()
g_form.addInfoMessage()
g_form.addErrorMessage
alert
confirm
What are the sections of the form design?
Header
Field Navigator - Field Names, Field types
Form Layout
What are the annotation types?
Info Box Blue
Info Box Red
Line Separator
Section Details
Section Separator
Text
What are two types of client side scripts?
UI Policies
Client Scripts
What are the types of server side scripts?
Access Control
Business rules
Scheduled Jobs
Script Actions
Script includes
UI Actions
Workflow / Flow
What is a UI Policy?
Client-side logic governing form and field behavoir
Have a condition which must be true in order to execute
Defines the behavior and visibility of fields on a form without scripting
What field attributes can be set by UI Policy
Mandatory
Visible
Read only
What additional fields are available in advanced view of UI Policy?
Global - applies to all views
Reverse if false - actions are reversed when condition evaluates to false
On load - executes on load and form change
Inherit - applies to extended tables
Script tab
What are the types of client scripts?
onLoad
onSubmit
onChange
onCellEdit
What two scripting objects are instantiated for client side scripts?
GlideForm (g_form)
GlideUser (g_user)
Where can you find comprehensive documentation for ServiceNow scripting APIs?
developer.servicenow.com
g_scratchpad must be populated by a display business rule
true