Remove Mark Deleted X From Related List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2016 06:06 AM
Good Morning All -
I am developing a custom application that requires approvals from people in my company. On one of the forms, I am displaying the approvers in a related list like so:
How do I go about removing and/or disabling the Red X to delete entries from the list?
Thanks in advance,
Chris
- Labels:
-
Scripting and Coding
- 4,238 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2016 06:08 AM
Ensure they do not have delete access to the record.
FWIW, that's an embedded list, not a related list. Related lists are at the bottom of the form. You might consider using a related list in this situation (standard OOB functionality.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2016 06:32 AM
Thank you Chuck.
I assume this means removing the role from the Delete ACL for the application? I tried to do that and it is not letting me.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2016 06:42 AM
Yes, modify the delete ACL. By default, the system creates four ACLs with the role you define on your table. Not always the best.
Best practice recommends that only admins have delete access on any tables. I commonly go through and update custom app ACLs to make sure admin is the only role allowed to delete and also review the write ACL.
If it's your app (scope) and your ACL, I have a hard time understanding why you cannot modify the ACL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 10:52 AM
Hi ctomasi,
I got a similar requirement but I'm not able to come up with a solution. The removing of delete access doesn't work for me because mine is not a regular embedded list. I custom built a relationship to display the list of records referenced in a list field. Users should be able to delete the references from the list field, just not from the embedded list. So I need to remove the x, how do I achieve this? I thought of creating the list_edit acl, but that would restrict them from deleting from the actual list view of records as well, right?
Let me share some screenshots for better understanding.
Placeholder Specifications is a list field referencing Placeholder Specifications table. Below that is an embedded list displayed through a custom relationship I built. If I delete records from the list, the list field changes displaying sys_ids. Also, there's an acl restricting modifications to that list field in a particular state. But that restriction doesn't apply when users delete records using that x mark. So in any case, that x mark needs to be removed. How do I achieve that? Please help!
Thanks in advance!