- 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 11:40 PM
Hi ankur, thanks for explanation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2019 07:17 PM
Thank you, for taking the time to post the complete working code 🙂