Determine if a requested item submitted from the Service Portal or the native service catalogue UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2018 02:47 PM
Hi Guys,
Is there a way I can determine if a requested item record is submitted via the Service Portal or the native service catalogue?
Mussie
- Labels:
-
Service Catalog
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2018 03:07 PM
You could put a true/false field on the form called “native UI”. And then create an onload catalog client script that hides the field and sets it to true. And make the client script run only on desktop.
Then that variable will be true if submitted from native ui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2018 04:35 PM
Thanks Jon, I will give it a try and let you know. TBH, I was hoping there some OTB field that might help me differentiate these.
Mussie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2018 04:18 PM
Hi Guys,
sp_log table can be used to identify the records created from Portal. Please note that the table also keeps record of views and other activities in portal. So use Type field values such as 'Task View' to fetch the right record.
Musie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2020 09:52 PM
Hello Mussie,
Were you able to find a solution for this, my client is also asking me the same question.
Kindly share the solution if you found and it will be very helpful for me and others as well.
Thank you.