- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:56 AM
Hi,
We have created a specific UI action called 'Resolve as SPAM', and as part of this UI action once pressed, it will change the state of the record which has a category of 'Manage Customer Queries' to the 'Resolved' state.
This functionality is working as expected from within the form itself aswell as from the list view. However we have a question around the visibility of this UI action.
As you can see in the screenshot below, the UI action is greyed out, and it is only possible to press it (un-greyed) when an edit checkbox is selected on the left hand side of the record. However if I press any of these checkboxes, no matter the category it still becomes un-greyed and is possible to press.
Is it possible to make this UI action un-greyed, only when a checkbox is selected on a record with the category as 'Manage Customer Queries' and always greyed when any of the other records with a different category is selected? Can anybody please provide any guidance or support here on if this is possible.
Below is our UI action, as you can see we have the condition as current.category == 10 which is the 'Manage Customer Queries' category above
Also here is our list action. We dont have any conditions on this, because when we try to add the category condition then for some reason it removes the UI Action from the list view.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 03:19 AM
Hi @Daniel R2,
I do not believe this is possible, unless you are prepared to use UI Builder to change the record page. (Create a new variant of it), and use the list events to evaluate if a button component should be shown based on the data in the event.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 03:19 AM
Hi @Daniel R2,
I do not believe this is possible, unless you are prepared to use UI Builder to change the record page. (Create a new variant of it), and use the list events to evaluate if a button component should be shown based on the data in the event.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.