Arcade Expression Pop-up Configuration to show multiple images

416
2
05-11-2023 11:08 AM
Labels (1)
CCGT_UAV
New Contributor II

I'm trying to show multiple images in the pop-up window. I have a feature layer that has attachments. Some features have one attachment and some features have more than one attachment. I followed the guidelines in this post and was able to write an arcade expression to show an image in the pop-up window but still cannot figure out how to write an expression so the pop-up window shows multiple images. Any idea would be highly appreciated.

 

 

Tags (2)
0 Kudos
2 Replies
RussRoberts
Esri Notable Contributor

Have you looked at Map Viewer and showing the attachments with the attachment element? 

https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_E563DC86D...

0 Kudos
CCGT_UAV
New Contributor II

Sorry, I missed explaining why I'm trying to use Arcade to show multiple images. The reason that I want to use Arcade is that in the attachments, there are images and non-images. I want to show the images only in the pop-up window. If I use the attachment element it will show both images and non-images. Sorry for the confusion.  

0 Kudos