Select to view content in your preferred language

Is it possible to edit individual feature popups in AGOL?

3296
3
Jump to solution
10-21-2014 12:34 PM
JennWood
Emerging Contributor

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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JennWood
Emerging Contributor

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!

View solution in original post

0 Kudos
3 Replies
TimWitt2
MVP Alum

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

JennWood
Emerging Contributor

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!

0 Kudos
TimWitt2
MVP Alum

Glad I could help, don;t forget to mark the correct answer

0 Kudos