How to click on a related table in the table widget and zoom to area in map

8475
13
06-18-2021 06:02 PM
elpinguino
Frequent Contributor

Hi EB community,

I have a map and a table widget in my Experience Builder. The table has the same layers as the map. In the table there are spatial features and tables that relate to the spatial features. There are GlobalIDs and GUIDs that connect them. When I click on a row in the table of a spatial feature, I can get the map to zoom to that feature. I've set this up in action/triggers. When I click on a row in the table of a related feature (non-spatial like owner details), I can't figure out how to get it to zoom to the parcel the owner details relates to. 

Is anyone able to help troubleshoot me here?

13 Replies
daansolaire
New Contributor

Hi @JonathanMcDougall, I know that your message is currently already two years old, but I am wondering if you could assist me nonetheless. My company wants to conduct inspections and has created surveys in Survey123 for this purpose. While filling in the survey, photos should be attached and for various questions, it should be possible to attach multiple photos. Therefore, the decision was made to use repeats in the survey. The downside is that the photos end up in related tables as a result. I am currently trying to make it possible to display these photos in Experience Builder. I am attempting to achieve this by using object info. I want to be able to click on a point on the map, and then have the Object Info widget show the corresponding photos from the related table. However, I'm having trouble accomplishing this. It seems that you have achieved this in a previous post. Could you please show me the settings you used for this? 

0 Kudos
JonathanMcDougall
Frequent Contributor

@elpinguino 

Excuse the questions, merely interested.

Just thinking of your edits - is this editing Inspection Records, hence the related table? If so, how do you preserve the validity of the inspection record?
I've used 123 in a dashboard before, this has allowed me to view an inspection record whilst only allowing the edit/update of "staff" fields. Was thinking of putting 123 into ExpB for a test to allow insurance claims to be logged.

0 Kudos
elpinguino
Frequent Contributor

Hi @JonathanMcDougall , No problem. I hadn't thought about embedding a dashboard in. I have the EB set up so new details can be filled out through survey widgets. What I like about survey widgets is that it can pass attributes through. 

If any of the records need to be updated later, they have to do it in the table.

0 Kudos
JonathanMcDougall
Frequent Contributor

@elpinguino 

So the dash I had allowed the update of a customer form. In the dash there was a list of issues, this list could be selected and that would call back the survey123 form. This was done by the list having the global id and the embed having the properly formatter survey123 url eg;
https://survey123.arcgis.com/share/xxxxxxxxxxx?mode=edit&globalId={globalid}&version=latest

I've not tried it yet like this in ExpB but I'm sure someone with far more knowledge than I will know if possible.

0 Kudos