How can I hide container in service catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2015 11:27 AM
HI All,
I have to hide a container in service catalog. I can hide the variables in service catalog but unable to hide the containers.
Has anyone done this kind of requirement. I tried through UI policies. I have attached a sample for the same.
Kind regards,
Sourabh Dhaygude
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2017 07:32 AM
You can use toggleVariableContainer('<sys_id>');
But ideally, you would store the sys_id as a system property then reference that.
That way it won't be flagged in an ACE report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2018 09:22 PM
You've likely solved this by now, but as I'm working in a Jakarta instance, it is hideable properly. Use a UI Policy to hide it, and make sure you check the boxes to show it / apply it to the views you're using.
If you don't have the "UI Poliicy" related list, add it via the Actions UI (Configure -> Related Lists)
Then, add a rule to apply when a field is a certain value
Under that rule / UI Policy, add a UI Policy Action, and select the container as the variable. Then, choose "Visible": false