- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 08:09 AM
Hello!
I've Onboard a User Order Guide that displays variable set from Catalog Item. The issue is that we want to hide some variables on the Order Guide but still display them if the user goes to catalog item to submit a request. It looks like Client Script is needed for this to work in Helsinki but not sure how. UI Policy hides the variable on the Order Guide but also on the Catalog Item which wouldn't work for us.
Appreciate any tips on this!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 12:45 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 10:13 AM
I have unchecked the Visible on guides checkbox for the variable and it worked for me on Helsinki. After unchecking the variable, do a cache.do and see if that works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 11:34 AM
Can you please provide detailed steps and variable you tried on? unchecking and then doing cache.do didn't work for me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 11:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 12:03 PM
Ah. It's removed from the Guide on below screen BUT appears still when viewing New Hire from the Service Portal. The field should be hidden from Service portal too. Both screenshots are below. Does it work for you from Service Portal?
Works here:
Not working here:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2016 12:16 PM
Here you go. Create an onLoad client script on the catalog item and put this script in there
function onLoad() {
var isOrderGuide = g_service_catalog.isOrderGuide();
if(isOrderGuide){
g_form.setDisplay('Additional_software_requirements', false); //put your field name here
}
}