Skip to main content
Question

How to publish a new ArcGIS Online Feature Service with attachments

  • November 5, 2025
  • 1 reply
  • 63 views

mgg_beca
Supporter
Forum|alt.badge.img+17

Hi,

I’d like to read a folder of documents and a set of points (say from a csv) and then join these together (filename of documents might match an attribute on the points), then write them all to an ArcGIS Online feature service with the documents as attachments.  I would ideally like to do this in one workspace and not have to hardcode anything.

I don’t think this is possible without using one workspace to write the CSV to feature service, and then another to read it and add attachments using the ArcGISAttachmentCOnnector, as that requires the feature service URL, which may not be known at the time of creating the feature service.

Thanks,

Marc

1 reply

evieatsafe
Safer
  • Safer
  • December 23, 2025

Hi ​@mgg_beca apologies for the delayed response, sounds like this is a good use case for the FeatureReader & FeatureWriter! 

These transformers act as regular readers and writers with the added benefit of placing them in the middle of your workspace. A FeatureWriter can initiate a FeatureReader or other transformers in your workflow. If you are able to pull the URL from the FeatureWriter after writing to AGOL you can perform the attachment upload after like you planned without hardcoding the values. 

Hopefully this helps or gives you some ideas!