g_form.getValue("sysparm_item_guid") not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 12:11 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 12:35 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 12:41 PM
I have used g_form.getUniqueValue() in the script but it is not working The script has been mentioned above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 02:42 AM
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