Removing the "insert new row" from an Embedded List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2015 12:09 PM
I have a list inside a list and I'm trying to hide the "insert new row" option as I don't want users to add new rows, but under list controls I don't see the check box to remove that option. Any thoughts??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2015 12:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2015 12:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2015 07:11 PM
Looks like do have to use ACL...
http://wiki.servicenow.com/index.php?title=Embedded_Lists#gsc.tab=0
3 Securing Records in an Embedded List
To apply security to the records in embedded lists, limit editing and deleting records in embedded lists to specific roles.
- Navigate to System Security > Access Control.
- Open the Write or Delete record for the appropriate table.
- In the Requires Role section of the form add the roles that have write or delete permission for that table.
- Save the changes.
- When records from the associated table appear in an embedded list, the edit and delete options will be available only to users with the specified roles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2015 06:20 AM
I was able to selectively remove the "insert new row" from these Embedded Lists by adding this script to the write/create ACLs:
if ((typeof(parent) != "undefined") && parent.sys_class_name.substring('cmdb_ci') != -1){
answer = false;
} else {
answer = true;
}
Where in our case, we wanted to hide "insert new row" on incident, problem and change_request embedded lists specifically on CMDB form views.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2015 01:07 PM
Ok, I see, I have not used the functionality like that before. Using it that way I think your easiest option are ACL's. I'm not sure if you can add that in as a related list instead, by clicking configure\related lists in the context menu.