How to hide the RITM variables from Service portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2024 07:55 PM
Hello all,
I want to hide some variables which are showing with values after generating the request in servienow from Portal.
Ex:- I want to hide User Path and access Path from below screenshot.
Note:- this variables are not created in maintain item of catalog items, they are creating on run time by script include.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2024 08:23 PM
what do you mean by not present in catalog item? are those not under variables related list for that item?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2024 10:38 PM
Hi @Ankur Bawiskar
They are present under related list but they are creating run time.
like generally we are creating variables directly in catalog items but this variables are creating on run time
the code is written in script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2024 10:57 PM
if they are present in variables related list then at variable level you can uncheck Visible on Summaries checkbox
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 01:32 AM
@Ankur Bawiskar
but that will fulfil the requirement for single catalog item.
let me tell you the full scenario
We have integration with one of the tool on that we have given option to the users to raise the request for different access from Portal, we have created a widget for same and pull the data from the third party tool. now once they raise the request from portal for one of the access after that the entry will create in sc_cat_item table with the same name and there this variables are also created
so now lets say 5 variables are crated I want to hide 3 of them from portal.