Hello everyone!
Does anyone have a good link to the documentation or a recommendation for resources to check out for attaching photos or images to feature layers created by CSV spreadsheets? (ie. importing data and then adding images after the fact)
I know how to create a feature layer from scratch in ArcGIS Online and add images in a Web Map, as well as import images and have it create a feature layer - but what I would like to do is import a layer using a spreadsheet and then add images to it. I think it was possible to do this in the Classic Map Viewer, but it's hard to track down the settings in the New Viewer.
**I did check the support docs, but no matter what I search, it only returns docs for creating media layers or creating a feature layer from scratch. But in this case, I want to create it from a CSV and then add photos later**
Any advise is welcome! Thank you!
Solved! Go to Solution.
You can add a CSV using New Item found at the top of the Contents tab.
BernSzukalski_0-1712765044457.png
Once the hosted feature layer is created, there are several ways for you to add photos.
Way 1
One way is to add photos/images manually in the feature layer pop-ups. See:
https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/configure-pop-ups-tips-photos/
Since this is a manual operation, it's tedious but for small numbers of features works just fine.
Way 2
Another way is to enable feature attachments. Once enabled, you can manually add photos/images/files as attachments to each feature. To enable attachments, open the newly created hosted feature layer item overview and click on the layer in the Layers section.
BernSzukalski_1-1712765342929.png
Once opened, down on the right side of the page you can enable attachments.
BernSzukalski_2-1712765572013.png
Once enabled, you can open the Data tab for the hosted feature layer, locate the attachment field, and click Add to add one or more attachments.
BernSzukalski_4-1712765931105.png
Another way to add attachments once they are enabled, is to click Edit from the Settings (light) toolbar, then when you select a feature you will see an option to add attachments to the feature.
BernSzukalski_5-1712766092412.png
Once enabled, you can add and configure an Attachments element in the layer pop-up.
BernSzukalski_3-1712765624290.png
Way 3
Another way is that once you figure out what you want to add, you can add a field that contains a link to the photo/image/file you want to display or add a table and join it.
This gets tricky with 1:M relationships, but you can also do things like add a link to a Flickr or other cloud storage viewer to open and view multiple photos/image/files.
I've configured hosted feature layers to open 3rd-party content management systems from pop-up links, so there are many options here.
Others here in the Community may have other ideas and suggestions.
You can add a CSV using New Item found at the top of the Contents tab.
BernSzukalski_0-1712765044457.png
Once the hosted feature layer is created, there are several ways for you to add photos.
Way 1
One way is to add photos/images manually in the feature layer pop-ups. See:
https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/configure-pop-ups-tips-photos/
Since this is a manual operation, it's tedious but for small numbers of features works just fine.
Way 2
Another way is to enable feature attachments. Once enabled, you can manually add photos/images/files as attachments to each feature. To enable attachments, open the newly created hosted feature layer item overview and click on the layer in the Layers section.
BernSzukalski_1-1712765342929.png
Once opened, down on the right side of the page you can enable attachments.
BernSzukalski_2-1712765572013.png
Once enabled, you can open the Data tab for the hosted feature layer, locate the attachment field, and click Add to add one or more attachments.
BernSzukalski_4-1712765931105.png
Another way to add attachments once they are enabled, is to click Edit from the Settings (light) toolbar, then when you select a feature you will see an option to add attachments to the feature.
BernSzukalski_5-1712766092412.png
Once enabled, you can add and configure an Attachments element in the layer pop-up.
BernSzukalski_3-1712765624290.png
Way 3
Another way is that once you figure out what you want to add, you can add a field that contains a link to the photo/image/file you want to display or add a table and join it.
This gets tricky with 1:M relationships, but you can also do things like add a link to a Flickr or other cloud storage viewer to open and view multiple photos/image/files.
I've configured hosted feature layers to open 3rd-party content management systems from pop-up links, so there are many options here.
Others here in the Community may have other ideas and suggestions.