Get all variables by client script : Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2018 08:39 AM
Dear community,
Is there any function same as g_form.getEditableFields() for Portal?
I want to get the list of all variables in Service catalog in portal.
Thanks in advance 🙂
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 04:08 AM
Hi ,
I am trying to implement the same but it is not working and i m getting error .
Error MessageonSubmit script error: TypeError: g_form.getFieldNames is not a function:
function () { [native code] }
I used above script in onsubmit of the catalog item. Kindly guide. I am also in newyork version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 04:08 AM
I am trying to implement the same but it is not working and i m getting error .
Error MessageonSubmit script error: TypeError: g_form.getFieldNames is not a function:
function () { [native code] }
I used above script in onsubmit of the catalog item. Kindly guide. I am also in newyork version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2020 09:39 AM
Hi,
Find the blog to get all variables of a catalog item here Get all variables for a given catalog item
also this previous thread will help you,
To Get all variables from catalog item.
Regards,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 03:17 AM
Great links. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 03:43 AM
Please mark this answer as correct answer if it solves your question. This will help others who are looking for similar solution.