Hide "Edit" button in the related list of incident task.

AryanJ471894898
Tera Contributor

Suppose you are on an incident form and there is a related list of incident tasks. whenever the incident is assigned to the "Hardware" group, I want the incident task "Edit" button to be hidden. How will you do that?

2 ACCEPTED SOLUTIONS

JenniferRah
Mega Sage

Go to an Incident. On the related list, right click and select Configure -> List Control. When you get to the List Control record, click the hamburger menu and select Configure -> Form Design. Add the field "Omit edit condition" and Save.

 

Then go back to your List Control record and add a condition like this to your Omit Edit Condition field:

JenniferRah_0-1748348803822.png

Make sure the "Omit Edit button" is unchecked.

 

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@AryanJ471894898 

you can hide the Edit button using Script in the "Omit Edit Condition" field on list control form

what did you try and what didn't work?

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

View solution in original post

2 REPLIES 2

JenniferRah
Mega Sage

Go to an Incident. On the related list, right click and select Configure -> List Control. When you get to the List Control record, click the hamburger menu and select Configure -> Form Design. Add the field "Omit edit condition" and Save.

 

Then go back to your List Control record and add a condition like this to your Omit Edit Condition field:

JenniferRah_0-1748348803822.png

Make sure the "Omit Edit button" is unchecked.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@AryanJ471894898 

you can hide the Edit button using Script in the "Omit Edit Condition" field on list control form

what did you try and what didn't work?

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