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

Additional software requirements field still appears in the New Hire Order Guide on the Service Portal 😕


Hey Abhinay (or anyone who can help )


Do you have any idea why i;m getting this error:


לכידה.JPG


i'm using istanbul, this is my script:


2.JPG


the thing is that the script in the comment actualy worked for us but we recieved the Ace Report and we are lookin for way to minimaize the defects, since one of the defect was extensive use of DOM manipulation, i'm lookin for way to replace it with ootb functions



Thanks!


Abhinay Erra
Giga Sage

No it should not, it works for me. Make sure the variable name is correct. Did you write the client script on the catalog item? Post the code here


Yes and yes.


Variable name is Additional_software_requirements


Screen Shot 2016-12-29 at 2.42.05 PM.png


Abhinay Erra
Giga Sage

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