Can I hide a variable on a catalogue item but show it in the sc_task?

Steven Watts2
Tera Guru

Hi,

 

I'm trying to hide a variable on the catalogue item but have it displayed in the sc_task record. I assumed that this would be possible via a UI policy which would only be applied to the catalogue item but this isn't working.

 

Has anyone done something similar?

 

Steven

10 REPLIES 10

@Steven Watts2 , i think you can do it through ui policy aswell but i went with onload client script something as below and its working for me,

 

Onload Client script,

swathisarang98_0-1710870514014.png

 

 

function onLoad() {
   g_form.setDisplay('testing',false); // add your variable backend name
   
}

 

 

and keep Applies on a Catalog Item view  true other 2 false 

swathisarang98_1-1710870593628.png

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang