Add a Button to a form using Declarative Actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 12:04 AM
My goal is to have a custom action displayed on the action bar
Following this post I was trying to create a custom action on a form using UI Builder.
This solution doesn't seem to be appropriate for form action but only list actions.
I did the following
Create a modal
Create a handled event
Call the modal on the handled event
Create UX Actions Configurations [sys_ux_action_config]
Create a declarative action assignment [sys_declarative_action_assignment] using the new UX action
Add an M2m Action Assig Ux Action Config on the form Actions
Create a new UX Add-on Event Mapping [sys_ux_addon_event_mapping]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 12:16 AM
To anticipate some answers.
I did create the declarative action with the following parameters
Table = my target table
View = the view I'm using on my experience
model = 360935e9534723003eddddeeff7b127d - sys_id of action model form
form_position = action bar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 12:23 PM
So what is the issue here? Is the button not showing up or is it showing up but not working?
Here are some additional links that may help: