Hi I want to Hide few fields in Incident form for certain groups in servicenow how can i achieve this thourght UI policy or ACL or Business rule.

siddharth26
Tera Guru

Hi all,

 

I want to Hide few fields in Incident form for certain groups accessing it in servicenow. how can i achieve this thorough UI policy or ACL or Business rule.

 

thanks

Siddharth

1 ACCEPTED SOLUTION

Glad that it worked.

Would you mind marking my response as correct & helpful if I am able to resolve your query?

Regards
Ankur

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

View solution in original post

27 REPLIES 27

@vijaya Adagane 

Can you post a new question and tag me there as this is an old thread?

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

Hi Siddharth,

I think you should mark this reply as correct so that it would help others in community faster

Regards
Ankur

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

Hello, I know this is from 2020, though I now have been searching for a solution to hide Incident Categories based on group as we are extending ServiceNow to other groups outside of IT.

 

Looking at the example you have I switched it to the following on the onLoad Client Script. Is this valid?

function onLoad() {
//Type appropriate comment here, and begin script below
g_form.removeOption('category', 'Applications');
g_form.removeOption('category', 'Hardware');
g_form.removeOption('category', 'Inquiry');
g_form.removeOption('category', 'Property');
g_form.removeOption('category', 'Network');
g_form.removeOption('category', 'Security');
}