Select to view content in your preferred language

Related Table Image Attachment in Map Viewer Popup

505
2
04-13-2023 11:22 AM
Labels (2)
jbrower
Emerging Contributor

Hi everyone, I'm not sure if this capability is available but I figured it was worth asking since I saw a few old posts. 

Basically, I have a survey123 form which has multiple repeat tables so the user can take many photos if they wish. I have a map that has pop-ups enabled that include the attachments. I can get it to display one image from the related tables but I can't figure out how to get it to display all of the photos from the related table. For example, one survey has a related table and in that table there are 3 records containing 3 pictures. I want to be able to display all 3 but with the code I have found I was only able to display 1. 

Is there any way to do this or is this capability still not available in AGOL?

2 Replies
MaryGraceMcClellan
Regular Contributor

@jbrower Did you ever figure out a resolution to this? It seems like a common problem - I even tried getting into the photos via Python but couldn’t get more than one photo to show up. 

0 Kudos
jbrower
Emerging Contributor

Unfortunately I did not. From working with it a bit more, I was only able to dynamically produce the URLs. The URLs themselves didn't actually link to the photos to display, just gave me a direct link to them instead. 

0 Kudos