- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2018 07:20 AM
Hi all,
in the normal view of a service catalog item, if you were to try executing g_form.getParameter("sysparm_item_guid") you would get the cart item id in advance before the item gets submitted.
Is there a way where i can get the cart item id of the item getting submitted in service portal?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2018 10:59 PM
Ahh, yes now I understand.
Unfortunately it is not possible in serviceportal. The serviceportal uses the cart API and therefore does not pre-generate any IDs as it just passes the catalog item details along when you add an item to the cart.
Maybe you can describe your business logic for this, and I might be able to give you some alternative suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 07:14 AM