Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ServiceNow Application Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
ServiceNow Application Development

ServiceNow Application Development

By : Gupta
4.1 (10)
close
close
ServiceNow Application Development

ServiceNow Application Development

4.1 (10)
By: Gupta

Overview of this book

ServiceNow provides service management for every department in the enterprise, including IT, Human Resources, Facilities, Field Service, and more. This book focuses on all the steps required to develop apps and workflows for any of your business requirements using ServiceNow. You will start with the first module, which covers the basics of ServiceNow and how applications are structured; how you can customize the dashboard as required; and also how to create users. After you get used to the dashboard, you will move on to the next module, Applications and Tables, where you will learn about working with different tables and how you can create a scope other than the global scope for your application. The next module is Scripting and APIs, where you will learn Scripting in ServiceNow and use powerful APIs to develop applications. The final module, Administration Essentials, covers debugging, advanced database features, and scheduled script creation. By the end of the book you will have mastered creating organized and customer-friendly applications
Table of Contents (15 chapters)
close
close
Free Chapter
1
Introduction to ServiceNow

Script includes


Let us now create our first script include. The script include usually comprises a set of JavaScript functions that can be called from any server-side scripts. Moreover, it is possible to mark a script include to be client callable, thereby making it possible for client-side scripts to make remote (AJAX) calls to script include code.

As part of this book, we will create a script include that will be client callable and create a client script that will make a call to the function defined in the script include when the value of the Destination form field changes. The client script will initiate an AJAX call to our script include and will tell the end user about the weather conditions in their destination location.

Note

As of now, the weather conditions will be hard coded in the script include; however, in the later chapters, we will integrate it with an external weather service and provide end users with up-to-date weather information.

To create a script include, open Studio and...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete