- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 01:37 PM - edited 04-24-2024 01:39 PM
Hello, do you have any idea how to get an sys_id of variable in Catalog Item on ServicePortal?
I want to use Client Script. The variable is checkbox.
I tried functions like: g_form.getUniqueValue('var_name');
g_form.getElement('var_name');
g_form.getElement('var_name').id;
Nothing works...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 02:21 PM
You mean the cat item you seen on screen in the portal, right?
Have you tried $sp.getParameter("sys_id") from the widget?
in portal no g_form will work away from the scope of the catalog item itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 02:21 PM
You mean the cat item you seen on screen in the portal, right?
Have you tried $sp.getParameter("sys_id") from the widget?
in portal no g_form will work away from the scope of the catalog item itself.