how to disable list edit for reference fields

Deepthi13
Tera Expert

hi team,

how to disable list edit for cmdb_ci_computer.location.country on computer table list layout. please suggest

1 ACCEPTED SOLUTION

Hi Deepthi,

Then I believe in that case you still need to write ACL field level from location table. In the advanced section using script try to do this

var index = gs.action.getGlideURI().toString().indexOf('location_list');

if(index == -1){

// it means it is not location table list layout so set answer as false

answer = false;

}

else{

answer = true; // allow edit when list layout of location table is opened

}

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

11 REPLIES 11

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Deepthi,

you can use list_edit ACL for this

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi ankur,

but how to give it for reference field. 

i am on computer table list layout.. field is from location table, 

with out effecting location table list layout this has to work only for computer table list layout that is cmdb_ci_computer.location.country

Hi Deepthi,

I believe you can give write operation i.e. field level ACL for location.country

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

there is no show related field here, could you check ACl once and tell me how to give that if it works 

 

find_real_file.png