What is gel('sysparm_item_guid').value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2016 02:11 AM
Hi All,
Could you assist.
When is gel('sysparm_item_guid').value used, what does it denote
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 07:10 AM
hello harsh
can you please tell where we can find the parameter sysparm_item_guid' which is passed under gel()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 09:29 AM
Hi Bilal,
While working on order guide and you want something to achieve on order guide you can use "sysparm_item_guid".
Can you please elaborate ur question? what parameter are you talking about?
Thanks,
Harshvardhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2018 05:25 PM
Hi
I have an issue with that script...
I try to validate there is an attachment, this is a regular Request (with NO order guide).
Here is the script:
function onSubmit() {
// Esto para exigir el adjunto de la foto en el formulario.
var cat_id = gel('sysparm_item_guid').value; //gel is shortcut for document.getElementById
var gr = new GlideRecord("sys_attachment");
gr.addQuery("table_name", "sc_cart_item");
gr.addQuery("table_sys_id", cat_id);
gr.query();
if (!gr.next()) {
alert("Debe adjuntar foto según especificaciones indicadas.");
return false;
}
}
WORKS in the ITIL role interface..
But in the Service Portal, I get an error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2023 01:07 AM
Hi did you get the solution how to do it in service portal