Ui builder open modal event mapping for declarative actions on same page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 09:48 AM
Hi,
I have 2 declarative actions on the same record, I want to trigger 2 different "open modal" events from each one of the actions. Currently it's opening both modals from one action. Does anyone know how I can achieve this?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 02:50 AM
Hi @Zirwa1 , i m stuckking in same question.DO you have any idea regarding this now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 10:43 AM
@AyanshN So the action assignment you want to open in a modal should be implemented as "UXF Client action" and should have "specify client action" field and the record associated to that field should be a action payload definition. Add this below value in the "payload" field.
{
"route": "{{route}}",
"fields": {
"table":"{{table}}"
},
"params": {
"sysId":"{{sysId}}"
}
}
Now on the open modal event, add "@payload.route" under Bind data to modal. like this
Now go back to your action assignments and open their advanced views. In the action attributes section, "payload map" field, set "route" equal to your respective modal IDs.
Hope this helps.