Select to view content in your preferred language

Custom data action

734
2
Jump to solution
03-14-2023 03:22 AM
Labels (1)
MatthieuBrisset
New Contributor II

Hello,

We are developping custom widgets in Experience Builder and one of the feature is to pass graphics from one widget to another.

We consider to use DataActions. The current documentation is a little bit light (https://developers.arcgis.com/experience-builder/guide/core-concepts/data-action/). Is it possible to have one example to achieve this ? 

Thanks
Matthieu

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
MatthieuBrisset
New Contributor II

Thanks Doug. I will take an eye on this sample

View solution in original post

0 Kudos
2 Replies
DougLogsdon2
New Contributor III

Have a look at the SDK samples here (show-record-id):

SDK Resources - Show Record Id

Another approach is to consume the same DataSource between the 2-widgets. Any queries and/or selected features made by widget-A are inherited in widget-B. Queries are concatenated, so I set the query to "1=1" on the receiving widget. 

Redux is yet another option, though the above approach has been much easier to implement.

Good luck!

0 Kudos
MatthieuBrisset
New Contributor II

Thanks Doug. I will take an eye on this sample

0 Kudos