Select to view content in your preferred language

Update a Feature Info Widget with the attributes of a table using Query Widget on a related feature

448
4
03-03-2025 08:23 AM
CarlaNardinocchi
Occasional Contributor

Hi all, I am new to EB and I am creating an application using Experience Builder and I want to know how to have the Feature Info widget updated using the Query widget. The query widget is based on a feature layer related to a table, which attributes need to be shown on the feature info.

First, I am trying to add a trigger to the Feature Info widget.

I select the Record selection changes trigger and the Filter data record action.

 - Trigger Date is  the table

 - Action Date: I select under Outputs the query result

 - Under condition I try both using the layer’s relationship and setting custom connection field with the parentGuid of the table as trigger field and GlobalID of the Feature as action field.

Doesn’t work.

 

Then, after removing the action above on the feature info, I add the trigger to the query widget.

I select the Record selection changes trigger and as target I select under Framework the action of Filter data records:

- trigger data: output query

- action data: the table

Again, I tried using the layer’s relationship and setting the trigger field (globalID of the features) and the action field (parentGuid of the table).

Doesn't work.

Can anyone help me understand what is wrong? Which one is the right way, and why none of them work at all?

0 Kudos
4 Replies
Allen_Zhang
Frequent Contributor

The query widget's selection change action should work.

The action will be triggered by you selecting some records in the output list but not applying the query.

0 Kudos
CarlaNardinocchi
Occasional Contributor

Thanks, now I understand.

The output of my query is the popup of the table that I wanted to see in the Feature Info widget. I didn't see it, I never tried to select the query output because my attention was on the Feature Info widget, but effectively I don't need it!

Thank you very much for the help!

0 Kudos
CarlaNardinocchi
Occasional Contributor
Thanks, now I understand.

The output of my query is the popup of the table that I wanted to see in
the Feature Info widget. I didn't see it, I never tried to select the query
output because my attention was on the Feature Info widget, but effectively
I don't need it!

Thank you very much for the help!
0 Kudos
CarlaNardinocchi
Occasional Contributor

...but if I would also like to interact with the feature info widget, what can I do...The trigger of Record Created only interacts with a map!

0 Kudos