The CreatorCon Call for Content is officially open! Get started here.

What is g_sc_form

Prateek Gupta3
Mega Guru

What is g_sc_form?

 

Can anyone please explain.

2 REPLIES 2

Jaspal Singh
Mega Patron
Mega Patron

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.

AbhishekGardade
Giga Sage

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 :

https://community.servicenow.com/community?id=community_question&sys_id=c0e64fa5db1cdbc01dcaf3231f96...

 
Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

Thank you,
Abhishek Gardade