- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2014 11:17 PM
What are the helper functions available in client scripts? Is there a place I can read it from there or I have to have a look at the used client scripts in ServiceNow to get to know?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2014 12:05 AM
Hi catchdini,
Before finding functions of client scripts,its better to see what is API of client scripts in service now.Please go through this once,it is very useful.
Client API Reference - ServiceNow Wiki
Functions available in client scripts of service now is
1.glide form
2.glide user and more
client scripts are mainly useful to do validations on form before its submitting or perform some action if particular value of the field changes.For more info
please go through this link
Client Scripting - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2014 12:05 AM
Hi catchdini,
Before finding functions of client scripts,its better to see what is API of client scripts in service now.Please go through this once,it is very useful.
Client API Reference - ServiceNow Wiki
Functions available in client scripts of service now is
1.glide form
2.glide user and more
client scripts are mainly useful to do validations on form before its submitting or perform some action if particular value of the field changes.For more info
please go through this link
Client Scripting - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2014 12:20 AM
Thanks Shilpa, its useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2014 12:25 AM
Similarly I would like to know the scripts/variables that are useful in other areas in ServiceNow like business rule. Does the Client-side API Reference will be useful for all or it is only for client scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2014 12:38 AM
Hi catchdini,
Its only for client scripts.These can be written in anywhere,which is executing at client side.i.e. UI policies,client scripts.ui scripts,ui actions.
There is one more script called server script which can be used in Business rules,Script include,Data policies,UI actions.and it execute at server side.
http://wiki.servicenow.com/index.php?title=Server_API_Reference