g_form.getValue("sysparm_item_guid") not working

Community Alums
Not applicable

Hi 

i was getting no value when using g_form.getValue("sysparm_item_guid") i have verified it using alert it is displaying empty. I have used UniqueValue() but the sys_id are different and also i have used gel it is also not working can anyone help me how to guid value.

8 REPLIES 8

@Charan Please go through this Link contains many solution for your problem.

Tony Chatfield1
Kilo Patron

Hi, g_form.getUniqueValue() would return the sys_id of the current form\record, which I would think was the same value as  gel('sysparm_item_guid').value
"sysparm_item_guid" does not work for Service Portal. Use g_form.getUniqueValue() instead. - Support...
Your post doesn't make your configuration\requirements\intentions\expectations clear, perhaps you could update the thread with clear details of your configuration\usage and issue that you are encountering?

 

Community Alums
Not applicable

@Tony Chatfield1 

I have used g_form.getUniqueValue() in the script but it is not working The script has been mentioned above

Prakash Pareek
Tera Expert

in sp portal g_form.getValue("sysparm_item_guid") will not work ... Did you find any other solutions to it . As it can be required to glide record the sys_attachment table