- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 09:47 AM
Hi,
I need to disable the "Delete" option of the "Actions on selected rows" dropdown in the List view when a user selects records and at least one of the records meets some predefined condition (for example: a field exists and is not empty).
I cannot use server side code (BRs or ACLs), I need option to implement this on client side.
Is it possible?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 11:23 AM - edited 03-26-2024 11:24 AM
You need to create a Delete UI action with the same action name as the out of box 'delete_checked' and add your condition to the Delete UI action. That would disable delete for rows which doesn't meet the criteria.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 11:23 AM - edited 03-26-2024 11:24 AM
You need to create a Delete UI action with the same action name as the out of box 'delete_checked' and add your condition to the Delete UI action. That would disable delete for rows which doesn't meet the criteria.