What is g_sc_form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 02:00 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 02:05 AM
Hi Prateek,
All of GlideForm methods can be accessed through the global g_form object which is available for Client scripts.
g_form will not work/is supported API for variables on Task Records. So at times when g_form APIs which you don't find working you can use g_sc_form.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 02:14 AM
For g_form APIs which you don't find working for Task Records, please use g_sc_form.
https://hi.service-now.com/kb_view.do?sysparm_article=KB0547171
The GlideForm methods are accessed through the global g_form object that is only available in client-side scripts.
But g_form is not a supported API for variables on Task Records. So For g_form APIs which you don't find working for we can use g_sc_form.
Have a look at below link :
Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade
Abhishek Gardade