Hide catalog items only from portal view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 11:36 PM
I want to hide few items from portal view. Itil users can order those items from instance but not from portal view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 02:49 AM
Hi,
You can achieve this by catalog client script where UI type field should be Mobile/Service Portal.
or
you can write onload client script where you can check in URL is /sp is present then Variable will get hide.
function onLoad() {
var url = top.location.href;
if (url.indexOf('/sp') > -1) {
// this is sp page and hide the variable
g_form.setDisplay('variableName', false);
}
}
Kindly mark correct and helpful if applicable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 03:01 AM
Hi,
did you try to add an 'user criteria' to your catalog items ?
On your item, In advanced view, go to "Not Available for" tab, and add a new criteria on Groups or Role membership.
role=itil for example.
Kindly mark correct and helpful if Applicable