Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning ServiceNow

You're reading from   Learning ServiceNow Administration and development on the Now platform, for powerful IT automation

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher
ISBN-13 9781788837040
Length 388 pages
Edition 2nd Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Learning ServiceNow Second Edition
Contributors
Preface
1. The Interface FREE CHAPTER 2. Lists and Forms 3. UI Customization 4. Understanding Data and Relationships 5. Tasks and Workflows 6. UI and Data Policies 7. User Administration and Security 8. Introduction to Scripting 9. The Server-Side Glide API 10. The Client-Side Glide API 11. Server-Side Scripting 12. Client-Side Scripting 13. Service Portal Scripting 14. Debugging 15. Pro Tips Index

Chapter 12. Client-Side Scripting

Whenever we say that something executes or happens client-side, or on the client, it's important to understand that we're referring to the user's web browser.

While it is important to understand the underlying architecture on which ServiceNow runs for server-side scripting, client-side scripting grants you access to a whole new set of non-ServiceNow APIs: The Document Object Model (DOM), and ServiceNow APIs which, grant you the ability to directly modify what the user sees and how they interact with the presentation layer of the system, without modifying any back-end logic or data. You can change field labels, choice list options, flash or highlight a field, throw an alert or confirm dialog, request input from the user, and more.

ServiceNow recommends against directly accessing or modifying webpage elements in the DOM, but luckily most of what you might want to be able to do can be accomplished using client-side APIs provided by the Now platform!

In this chapter...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images