- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 09:52 PM
hi team,
how to disable list edit for cmdb_ci_computer.location.country on computer table list layout. please suggest
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 10:57 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 10:07 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 10:18 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 10:26 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 10:31 PM