Hosted Feature Layer of Images

1718
2
Jump to solution
04-04-2019 03:31 PM
JoeBorgione
MVP Emeritus

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?

That should just about do it....
0 Kudos
1 Solution

Accepted Solutions
JoeBorgione
MVP Emeritus

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 Gerrowedited 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.



That should just about do it....

View solution in original post

2 Replies
KellyGerrow
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

JoeBorgione
MVP Emeritus

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 Gerrowedited 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.



That should just about do it....