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
Mastering ServiceNow

You're reading from   Mastering ServiceNow Unleash the full potential of ServiceNow from foundations to advanced functions, with this hands-on expert guide fully revised for the Helsinki version

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465955
Length 656 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
 Wood Wood
Author Profile Icon Wood
Wood
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Mastering ServiceNow Second Edition
Credits
Notice
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. ServiceNow Foundations FREE CHAPTER 2. Developing Custom Applications 3. Server-Side Control 4. Client-Side Interaction 5. Getting Things Done with Tasks 6. Events, Notifications, and Reporting 7. Exchanging Data – Import Sets, Web Services, and other Integrations 8. Securing Applications and Data 9. Diagnosing ServiceNow – Knowing What Is Going On 10. Packaging with Applications, Update Sets, and Upgrades 11. Making ServiceNow Beautiful with Service Portal and Custom Interfaces

Customizing and extending the platform


Sometimes, administrators want to perform manipulations that GlideForm cannot do. This might include supporting additional events, such as onmouseover, or altering the layout of the page. Although I'll tell you how you can achieve this, I recommend that you don't use this technique in your production instance!

Note

This section assumes that you have a basic understanding of dynamic HTML.

Firing on more events

Client Scripts allow you to run code when a field changes or when the form is loaded or submitted. However, the browser can inform JavaScript code about many more events, such as zooming the view, moving a mouse, or dragging files.

One way is to create an onLoad client script that sets up these events manually. The following code uses some undocumented functions of the ServiceNow platform to run scripts when the mouse moves over the Departure field on the Reservation form. Let's try this out:

  1. Navigate to System Definition > Client Scripts. Then, click...

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