Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Hide Incident Variable Editor

ashok17
Tera Contributor

Hi All,

 

How to Hide Variable section( Incident Variable  Editor) on incident form.

 

Please suggest if any one have idea for this requirement. 

6 REPLIES 6

Hi All,

Variable section should visible only if incident raised through service portal but If any user raise incident through Like All-->Incident--> create new the Variable section should not visible in incident form.

I have added in Section Incident Variable Editor in incident form design and written below client script for variable read-only this is working fine but If user raised incident using All-->Incident--> create new the variable section showing empty.

g_form.setVariablesReadOnly(true);

Please suggest for this requirement.

Chaitanya naram
Mega Sage

Hi @ashok17, If you would like to make a variable not visible in the incident variables section (variable editor), create a catalog client script and check only Applies on target record check box and uncheck applies on catalog item, form and task and use the setDisplay/setVisible method for that variable. 

 

If you would like to set the display of a variable based on a condition, you can do same validation inside your client script itself.

Thanks & Regards | Chiranjeevi Chaitanya Naram
Kindly mark the answer Correct and Helpful if it helps to resolve your issue.