Hide a variable on the Order Guide but not the Catalog item

deepaltrivedi
Mega Contributor

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!

1 ACCEPTED SOLUTION

Abhinay Erra
Giga Sage

Select the UI type to both and you are good to go


View solution in original post

29 REPLIES 29

Could you explain how to do that or what condition to add in the UI policy?  


I tried following condition: class is Order Guide then UI Policy Action is to hide Priority field.   For some reason, it's ignoring the condition class is Order Guide and hiding Priority field on Order Guide and Catalog Item.


Abhinay Erra
Giga Sage

Can you post a screenshot of your order guide variables related list as shown below. Is the priority variable defined in the list?


find_real_file.png


Yes, priority variable is defined:


Screen Shot 2016-12-29 at 11.57.46 AM.png



Below is the UI Policy that I tried:


Screen Shot 2016-12-29 at 11.55.52 AM.png


Abhinay Erra
Giga Sage

Not in the catalog item. I am talking about the order guide as shown in my screenshot.


Maybe I'm not clear, the variable was created in the Catalog Item and displayed in Order Guide using Rule Base. Similar to how Standard Laptop is pulled in New Hire Order Guide in OOTB example.