Difference between g_form and g_sc_form

_navin9898
Tera Expert

Hi Experts,

Good Day!

Could someone please let me know what is the difference between g_form and g_sc_form?

Best Regards,

Navin

1 ACCEPTED SOLUTION

SaiRaviKiran Ak
Giga Guru

Hi,

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...

 

Thanks,

Ravi

View solution in original post

2 REPLIES 2

Ct111
Giga Sage

Hi Naveen,

 

The perfect usage along with example is given in below link just go thorough it

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

 

Mark my ANSWER as CORRECT and HELPFUL if it helped.

SaiRaviKiran Ak
Giga Guru

Hi,

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...

 

Thanks,

Ravi