售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning ServiceNow Second Edition
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewers
Packt is Searching for Authors Like You
Preface
Who this book is for
What this book covers
To get the most out of this book
Basic knowledge of JavaScript
A free developer instance of ServiceNow
Download the color images
Conventions used
Get in touch
Reviews
Chapter 1. The Interface
Versions
Frames
Banner frame
The application navigator
Filter text box
Favorites
History
Important application menus and modules
Content frame
UI settings and personalization
Summary
Chapter 2. Lists and Forms
List v2 versus List v3
Lists and tables
Creating a custom table
List view
Condition builder
Forms
Form designer
Form layout
Related lists
Summary
Chapter 3. UI Customization
UI15 versus UI16
Switching between UI15 and UI16
Branding your instance
Custom themes
UI-impacting system properties
Configuring service portal UI
Creating a custom homepage
Styling pages and widgets
Setting up the War Room page
Styling the CMS
Summary
Chapter 4. Understanding Data and Relationships
One-to-many relationships in ServiceNow
Many-to-many relationships in ServiceNow
Creating a M2M table
Other M2M relationships
Enforcing one-to-one relationships
Defining custom relationships
Database table inheritance
Summary
Chapter 5. Tasks and Workflows
Important task fields
Active
Additional comments and work notes
Journals and the activity formatter
Extending the task table
Workflows
Important workflow activities
Pausing workflows
Workflow Stages
SLAs
Approvals
Assignment
Creating Task fields
Summary
Chapter 6. UI and Data Policies
UI policies
Catalog UI policies
Reverse if false
Scripting in UI policies
UI Policy Order
Demo
Data policies
Demo
Converting between data and UI policies
Demo
Data policies versus ACLs
Summary
Chapter 7. User Administration and Security
What is a user?
Groups and roles
Impersonating users for testing
Emails and notifications
Demo
Notification devices
User preferences
Default preferences
Preferences in update sets
Scripting user preferences
ACLs – security rules
ACL process order
High security plugin
Summary
Chapter 8. Introduction to Scripting
To script, or not to script?
Client-side versus server-side APIs
Client-side APIs
Server-side APIs
Where scripting is supported
Access controls
Business rules
Client scripts and catalog client scripts
Condition builder (and the URL)
Default value
Script includes
UI actions
UI policies and catalog UI policies
UI scripts
Workflow activities
Integrated development environment
Script tree
Script auto-completion
Script editor macros
Summary
Chapter 9. The Server-Side Glide API
The structure of an API class
Server-side APIs
GlideRecord
Initialize
addQuery()
addActiveQuery()
addNullQuery() and addNotNullQuery()
canRead(), canWrite(), canCreate(), and canDelete()
deleteRecord() and deleteMultiple()
get()
getDisplayValue()
getValue() and getUniqueValue()
hasNext()
initialize() and insert()
next()
orderBy() and orderByDesc()
query()
setAbortAction()
setLimit()
setValue()
setWorkflow()
update() and updateMultiple()
GlideElement
changes(), changesFrom() and changesTo()
getDisplayValue()
getED()
getReferenceTable() and getRefRecord()
nil()
toString()
GlideDateTime
Adding or removing time
getDayOfMonth() and getDayOfWeek()
GlideSession
getClientData() and putClientData()
GlideSystem
addErrorMessage() and addInfoMessage()
debug()
eventQueue()
getProperty()
getUser()
getUserID()
hasRole()
GlideUser
getPreference() and savePreference()
hasRole()
isMemberOf()
Summary
Chapter 10. The Client-Side Glide API
Client-side APIs
GlideAjax
GlideForm (g_form)
Setting/clearing messages on the form and fields
Dealing with drop-down list fields
Getting and setting values on the form
Controlling field visibility
Setting fields mandatory and read-only
Submitting a client-side form
Disabling checking for mandatory fields
GlideUser (g_user)
Getting user details
Checking user permissions
Getting client data
GlideRecord
Querying for one or more records
Deleting a record asynchronously
Summary
Chapter 11. Server-Side Scripting
Dot-walking and GlideElement
Script includes
Server-side GlideAjax
Business rules
After business rules
Asynchronous business rules
Default versus calculated field values
Default values
Calculated values
Summary
Chapter 12. Client-Side Scripting
Client scripts
Client script types
Security
Compatibility
Build for performance
Reference fields
GlideAjax and asynchronous GlideRecord
g_scratchpad
UI scripts
Running only necessary scripts
Scripts from the server
Summary
Chapter 13. Service Portal Scripting
Setting up appointments
URLs in the service portal
Creating the meeting widget
Aesthetic changes
Option schema
Troubleshooting widgets
Summary
Chapter 14. Debugging
Logging
Client-side debugging
Debugging field visibility
Server-side debugging
Reference versus value
Debugging security
JavaScript debugger
Debugger interface
Breakpoints
General debugging
Summary
Chapter 15. Pro Tips
Admin pro tips
List personalization
Update set selector
Reference field background color
List v3 rendering
List, form, and new window shortcuts
Adding the ServiceNow frame by URL
Impersonation simplification
Derived field risks
Finding derived fields and other field data
Dictionary overrides
Scripting pro tips
Avoiding nested loops
Limit logging
What the pros wish they knew
Field case
Generating encoded query strings
How to modify OOB scripts
Other technical best practices
Summary
Index
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜