Service Catalog Client Scripting: form sys id's

UPDATED JUNE2020 (New York Version

in case below don't work, try
    g_form.getParameter('sysparm_item_guid');


//--Cat item id:

gel('sysparm_id').value;

//--Actual form id:
gel('sysparm_item_guid').value);


and for Service Portal friendly versions:

//--Cat item id:
itemID= g_form.getSysId();


Comments

Popular posts from this blog

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy

GlideRecord setValue