How to populate Catalog item based on user login?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 03:07 AM
Hi All,
I have requirement, to populate catalog item based on user login using back ground script.
Example: If Able Turte login to the portal he has only some catalog item has access to visible That item has visible using background script .Please help me on this .
Thanks
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 03:33 AM
can you explain your business requirement?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 03:37 AM
Hi Ankur,
In Virtual Agent when user logged into chat box, When he clicked on XXX. He should visible only the catalog items which he has access. Reaming should not visible in chat box.
Thanks
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 03:42 AM
how is user selecting the catalog items in Virtual agent?
you can use script utilities and get the catalog items satisfied by logged in user and then show them as response.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 03:46 AM - edited 03-27-2023 03:46 AM
Hi Ankur,
Can you please share the example script for that.
Thanks,
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 03:48 AM
check this link
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader