Module 5: Introduction to Development Flashcards
What is a UI Policy?
Determines what happens on a form:
setting a field mandatory
setting a field as hidden
setting a field as read only
Where do UI Policies execute:
In the web browser (Client side)
How do you set a UI Policy so it works on all views?
Set Global to true
What’s the purpose of a UI Policy?
Managing the user experience, has nothing to do with security
What does a data policy do?
Enforces data consistency using mandatory and read/only
How does a Data policy different from a UI Policy?
Data also applies to all data entered via:
form
import sets
web services
Data Policies execute on Server side (True/False)?
True (But can also run on client side)
Can data policies work on List editing?
Yes, it appears editable, but fails to update
UI Actions types (7):
Form Buttons
Form context menu items (Right click header)
Form Links (Near Related Lists)
List Buttons
List contents menu items (right click a record)
List choices (at the bottom of a list)
List links (Related links at the bottom of the list
What are the four type of a Client Script?
onCellEdit()
onChange()
onLoad()
onSubmit()
A business rule runs at 4 times:
Before
After
Async (queued)
Display (before the record is displayed)
What do display Business rules typically access?
Scratchpads (g_scratchpad)
How many places can a script be used?
Over 30
Name the 8 most common places a script is used:
UI/Data Policy Business rule Client Scripts UI Macros/Scripts/Properties/Pages Script Includes Transform Maps Flow Scripts ACL Scripts
What scripts run on the browser?
Client side scripts: UI Policies and Client Side Scripts
What script runs when data is being saved?
A business rule
What provides additional functionality in an instance?
Plugins
What is an Update Set?
A group of customizations that can be moved between instances
How do you apply an update set?
1 Retrieve A System Update Sets > retrieved Update Sets B Click Import Update Set from XML C Choose a file to upload D Upload the file 2 Preview 3 Commit
How do you … Retrieval from a remote Instance
System Update Sets > Update Sources
All update sets marked as complete come over
What type of records aren’t captured in update sets?
Data records
The first time you connect to an instance, what must you do?
Test Connection
What is GAC?
Guided Application Creator
What’s a delegated developer?
Non-admin users and groups that can develop applications
What rights can delegated developers get?
All File Type access Integrations (Rest) Reporting Workflow Service Catalog (Can make and edit catalog Items) Service Portal (Can edit the portal) Flow Designer Tables and Forms (columns, form layout, and list layout) Manage ACL's and Roles Allow Scripting
Are GAC scoped apps?
True
What is ATF?
Automated Test Framework
When do ATF tests run?
On demand
Scheduled
What is the Developer API Documentation URL?
developer.servicenow.com
What ServiceNow tool is used by developers to create a custom app?
Studio
What protects “Applications” by restricting access to files and data?
Application Scoping
How can a user display the scope in the banner frame?
System Settings (Gear icon)
Developer Tab
Show application picker in header