Surveyors are collecting data on-site and taking photos as attachments unto an ARCGIS Feature Layer. Depending on the infrastructure category, I need to display these survey results across multiple ARCGIS Feature Layers. Is this possible without saving the attachments locally first?
Hi @manca_ent when reading attachments with the ArcGIS Online Feature Service Reader with Include Attachments enabled, the attachments are read as their data type. You will then need to use an ImageRasterizer to convert these to a raster image, and then save these locally. If you want to add attachments to another ArcGIS Online Feature Service, you can use the AGOLAttachmentAdder.
Unfortunately, the AGOLAttachmentAdder only accepts jpeg/png files, so you will have to save these attachments locally first before they can be available to the AGOLAttachmentAdder.
If you're looking to perform some cleanup on the local files, you could look into using the FileDeleter after you've added the attachments.
Hi @manca_ent when reading attachments with the ArcGIS Online Feature Service Reader with Include Attachments enabled, the attachments are read as their data type. You will then need to use an ImageRasterizer to convert these to a raster image, and then save these locally. If you want to add attachments to another ArcGIS Online Feature Service, you can use the AGOLAttachmentAdder.
Unfortunately, the AGOLAttachmentAdder only accepts jpeg/png files, so you will have to save these attachments locally first before they can be available to the AGOLAttachmentAdder.
If you're looking to perform some cleanup on the local files, you could look into using the FileDeleter after you've added the attachments.
This really helps, thank you.