Hosted Feature Layer of Images

409
2
Jump to solution
04-04-2019 03:31 PM
Highlighted
MVP Esteemed Contributor

In the what's new page for AGOL, it states one can upload a zip file containing geo-tagged images, and publish them as a hosted feature layer.  Is there way to configure the pop-up such that when the point is clicked, the actual image opens?

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
MVP Esteemed Contributor

Thanks Kelly!  I'm messing with it now, but must be missing something along the way as the popup looks like this:  

 and the More info link  tells me:

{"error":{"code":404,"message":"Unable to complete operation.","details":["None. This feature has no associated attachments."]}}

Kelly Gerrow

edited some time later:

Got it! I was copying more of the image url than I needed to. Initially I grabbed this:

https://services1.arcgis.com/DJP723NX3ukQ2LtF/arcgis/rest/services/SelectImages/FeatureServer/0/3/at...

and pasted it into the Arcade expression. It really only needs:

https://services1.arcgis.com/DJP723NX3ukQ2LtF/arcgis/rest/services/SelectImages/FeatureServer/0/

since arcade fills in the rest.



View solution in original post

2 Replies
Highlighted
Esri Frequent Contributor

Hi Joe,

Check out this blog for a way to do this for public layers. https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2019/03/22/show-attachments-in-po...

-Kelly

Highlighted
MVP Esteemed Contributor

Thanks Kelly!  I'm messing with it now, but must be missing something along the way as the popup looks like this:  

 and the More info link  tells me:

{"error":{"code":404,"message":"Unable to complete operation.","details":["None. This feature has no associated attachments."]}}

Kelly Gerrow

edited some time later:

Got it! I was copying more of the image url than I needed to. Initially I grabbed this:

https://services1.arcgis.com/DJP723NX3ukQ2LtF/arcgis/rest/services/SelectImages/FeatureServer/0/3/at...

and pasted it into the Arcade expression. It really only needs:

https://services1.arcgis.com/DJP723NX3ukQ2LtF/arcgis/rest/services/SelectImages/FeatureServer/0/

since arcade fills in the rest.



View solution in original post