I'm working on getting an interactive web map posted on my organization's website using AGOL. I created my map in ArcGIS for Desktop and then shared it as a service. I followed all of the instructions so that the map could be shared publicly through AGOL. My map includes about 6 shapefiles that have multiple features. One shape has about 100 features and 6 attribute fields. I know that I can edit the popups for each layer to adjust the attributes displayed.
However, I would like to edit the popups for individual features so that I can add weblinks or photographs to some of the features. When I edit the popups using the 'configure popup' I can add photos but it adds the same image to all of the features in the layer.Is it possible to edit feature popups individually? Or do I have to go back to ArcGIS for Desktop, add attribute fields for website and photograph and edit each feature record?
(If I do need to add websites/photographes to the attribute table in ArcGIS, I would definitely appreciate instructions/tips on how to do so, so that images appear in AGOL instead of just code or links.)
Thank you for your help!!
Jenn
Solved! Go to Solution.
Thanks Tim. I realized I wasn't checking the 'edit' option before publishing my feature service and that's what was throwing me off. However, I did use your suggestion of creating a picture field. Thanks!
Hey Jenn,
I created a Field called PICTURE and then added the following code in the field for each feature:
<a href="http://www.ALinktoAWebsite.us/About" target="_blank"> <img src="http://www.YourImageServer.us/images/YOURIMAGE.jpg?sfvrsn=2" /> </a>
Or if you just want the picture with no link:
<img src="http://www.YourImageServer.us/images/YourImage.jpg?sfvrsn=2"/>
Once uploaded you can just add this field to your custom pop-up and it will show the picture instead of the text.
Here is how it will look like: http://bit.ly/1wsNkCm
Click on a firetruck.
Tim
Thanks Tim. I realized I wasn't checking the 'edit' option before publishing my feature service and that's what was throwing me off. However, I did use your suggestion of creating a picture field. Thanks!
Glad I could help, don;t forget to mark the correct answer