SN Application Developer Fundamentals Flashcards
(229 cards)
When should you script?
When you’re adding a whole new functionality; building an application suite
How can you open a table’s form view from the application navigator?
<table_name>.form
</table_name>
What happens when you type <table_name>.CONFIG in the Application Navigator</table_name>
A new tab is opened with the configuration view for the table to display changes to that table
What do you need to do to get var and const to both work?
Use ECMAScript 2021 (ES12) mode. If turned off, const does not work. Turn on using toggle switch in the script form
Name two client Glide types that are designed for ServiceNow
g_form and g_user.
For client scripts, what three types are there for UI Type
Desktop, Mobile/ServicePortal or All
Should you use Client Side entities for Security?
No. Easily hacked. Can be seen within the browser itself
What are the four trigger types on client scripts
onLoad, onSubmit, onChange, onCellEdit
What is the onCellEdit trigger type used for in Client Scripts
It is used when a particular field value in a list changes.
How can you tell if an object is for client side or server side?
Client is g_xxx, Server side is gs_xxx or gr_xxx
Name five application characteristics that make for an app that is a fit for ServiceNow
- Can be modeled relational database
- Needs workflow/flow to manage processes
- Extensive use of forms
- Can extend existing functionality thru JavaScript
- Requires reporting
What type of applications does SN specialize in?
Business to Employee (B2E)
What does least privilege mean in the context of an app
It only has access to what it needs.
What are the advantages of scoped application
- Protected from other applications
- Protects other applications
- App only has access to what it needs
- Have to config the app to allow other apps to access it and its data
What release did application scopes become a feature
Fuju (2014)
What release was the first to include Studio
Geneva (2015)
Can an applications scope be changed once the record is saved in the db?
No
Is it a best practice to work in a private scope?
Yes
In the baseline, what type of access do applications outside of the current scope have?
Read access
What type of apps can be controlled thru Delegated Development?
Scoped applications. Global applications cannot take advantage of Delegated Development
What three parts make up an applications namespace
- Prefix = x_
- The company name - 2-5 characters stored in glide.appcreator.company.code system property
- application ID - Can be up to 40 characters but the system truncates the name to 18 characters for the namespace
Where do admins manage Delegated Developers and the content they can access?
Studio. Access can be granted to only Scoped applications
What developer permissions are needed to create advanced business rules
All Files and Allow Scripting
How does an admin set developer permissions per application
Navigate to File->Manage Developers in Studio