Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ServiceNow Cookbook

You're reading from   ServiceNow Cookbook Acquire key capabilities for the ServiceNow platform

Arrow left icon
Product type Paperback
Published in Feb 2017
Publisher Packt
ISBN-13 9781785880520
Length 376 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Dustin Turner Dustin Turner
Author Profile Icon Dustin Turner
Dustin Turner
Ashish Rudra Srivastava Ashish Rudra Srivastava
Author Profile Icon Ashish Rudra Srivastava
Ashish Rudra Srivastava
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

Preface 1. Getting Started with Service-Now FREE CHAPTER 2. Performing Core Configuration and Management Tasks 3. Building Data-Driven Application 4. Configuring Alerts and Notifications 5. Building and Configuring Reports 6. Creating and Configuring Workflow Activities 7. Auditing and Diagnosing Service-Now

Working with JavaScript logs


JavaScript, can run on the client side or on a browser, can use the Service-Now JavaScript log functionality.

Getting ready

To step through this recipe, you should have an active Service-Now instance and valid credentials with an admin role.

How to do it...

  1. Open any standard web browser and type the instance address.

  2. Log in to the instance using the credentials.

  3. Now click on the settings icon, select the Developer option, and turn on the JavaScript Log and Field Watcher options. A new pane will be opened at the bottom of the screen, where you need to select the JavaScript Log section:

    JavaScript log screen

  4. If you want to log information to the JavaScript log, then Service-Now provides a global jslog() function, which passes information to the JavaScript log sections.

  5. If you want to capture the JavaScript log to the client-side script, then you can follow this process:

  6. Now right click on the header of any incident form and hover the mouse over the Configure option, and...

lock icon The rest of the chapter is locked
arrow left Previous Section
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 €18.99/month. Cancel anytime