Book Image

Learning ServiceNow. - Second Edition

5 (1)
Book Image

Learning ServiceNow. - Second Edition

5 (1)

Overview of this book

This book is an updated version of Learning ServiceNow, that will cover the new and updated features of the ServiceNow platform. It will show you how to put important ServiceNow features to work in the real world, while introducing key concepts via examples of managing and automating IT services. It'll help you build a solid foundation of knowledge, and will demonstrate how to effectively implement and configure modules within ServiceNow. We'll show you how to configure and administer your instance, and then move on to building strong user interfaces and creating powerful workflows. We also cover other key elements of ServiceNow, such as notifications, security, reporting, and custom development. You will learn how to improve and automate your business' workflow and processes. By the end of this book, you will be able to successfully configure and manage ServiceNow like a pro.
Table of Contents (19 chapters)
Learning ServiceNow Second Edition
Contributors
Preface
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...