Declarative List Actions do not handle conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 08:57 AM
I am building a solution and, I would like buttons to only show on a list if ALL of the selected items can run the button.
You would think this would be a simple, check the right boxes, use the same rule that correctly shows and hides the button in a form and, the list would show and hide the button based on all items selected.
I have tried all of the options in the Action Assignment for list.
I can get the button to always show or not show at all, but I cannot get any condition applied to show the button. If I define ANY condition ,with or without the “Experience Restricted” button checked, I get the same results.
I have tried:
- Using the same script condition that works on the form.
- Using “Requires read access”
- Adding the Record conditions in the script condition used in the form
If I add ANY condition, the button never shows at the top of the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 06:41 PM
Where to find the List action configuration? To set it as @context.app.actionConfigId
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 06:39 AM
Hi John,
In the UI builder, you can configure your list component by opening its properties > Header > List actions configuration. It might be empty or contains some hard-coded values like "SOW Actions".
Best,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2024 11:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2024 11:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 02:27 AM
Your declarative action (sys_declarative_action_assignment) must have a "Action configurations" (sys_ux_action_config). Then you need to point out your action configuration in the "actionConfigId" (UX Page property - sys_ux_page_property) of your application ux page (sys_ux_page_registry) by adding the sys_id of your sys_ux_action_config record as "value" in the "actionConfigId" property.