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

Chapter 10. The Client-Side Glide API

Similarly to the previous chapter, this chapter will focus on the Glide API. Unlike the previous chapter though, this chapter will go over some of the more common client-side Glide API classes, including the following:

  • GlideRecord

  • GlideAjax

  • GlideForm

  • GlideUser

Each class in the Glide API may consist of methods (executable functions within the class object), and properties (variables stored within the class, which may be set on initialization of a new instance of the class).

Remember that while the Glide API extends the functionality of client-side scripts, this is done by simply adding certain JavaScript files into the browser's scope. Client-side scripts do not execute on the server (perhaps obviously), and thus do not execute within Mozilla Rhino (the server-side implementation of JavaScript). This means that you do not have access to certain Java-ish functionality, but also that you do have access to the browser's scope, certain UI elements and client-side...