How to hide variable set on portal

Pratiksha KC
Tera Guru

Requirement is we have four variable sets and two variable sets should hide on portal but should visible on catalog task.

 

How can we achieve this? 

18 REPLIES 18

@Shraddha Kadam  Tried this way still not working.

Try with Catalog client script

If my response was helpful, please mark it as correct and helpful.
Thank you.

Hello @Pratiksha KC ,

Is your variable set and catalog item in the same scope? If it is the same scope, then it should work.

If my response was helpful, please mark it as correct and helpful.
Thank you.

Hello @Pratiksha KC, Please verify whether there is any mandatory variable inside VS. It will not be hidden if there is any such.

 

Regards,

Nishant

@Pratiksha KC 

Any other UI policy is making those 2 variables as mandatory?

If yes then your UI policy can't hide it.

make it mandatory false and then hide it

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader