Can I hide a variable on a catalogue item but show it in the sc_task?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 10:03 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 10:50 AM
@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,
function onLoad() {
g_form.setDisplay('testing',false); // add your variable backend name
}
and keep Applies on a Catalog Item view true other 2 false
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang