Skip to main content
Question

Getting ArcGISAttachment Connector to attach pdfs from a path

  • September 1, 2026
  • 1 reply
  • 15 views

nakky
Observer
Forum|alt.badge.img

Hi community,

I am working on a prototype workbench where I read spatial locations, process data, and write them out to a brand-new layer in ArcGIS Online. My primary goal is to attach local PDF documents (using a file path attribute named path_windows) to these newly created features as they are uploaded.

I am using the FeatureWriter (Esri ArcGIS Feature Service) transformer set to Create If Needed / Insert. However, I have hit a roadblock when trying to pass the written records downstream to the ArcGISAttachmentConnector:

  1. The individual feature type output port on the FeatureWriter does not exist (or doesn't pass the individual features downstream with the required AGOL metadata).
  2. The Summary port outputs a single feature containing the _dataset URL, but it drops the individual spatial features and row-level attributes like path_windows.
  3. Because the ArcGISAttachmentConnector requires both the individual feature stream (carrying the generated OBJECTID) and the layer's REST endpoint URL, I am struggling to combine these two pipelines effectively right after a fresh layer initialization.

I have attached a screenshot of my current workspace layout for context as well as the configuration of my featurewriter. What is the recommended best practice for delaying the features or joining the Summary port metadata back onto the individual records so they can safely pass into the AttachmentConnector?

1 reply

salvaleonrp
Enthusiast
Forum|alt.badge.img+22
  • Enthusiast
  • September 1, 2026

#1 is not supported .. See my comments on this questison. 

Been asking for that feature for a while now. 

You can see the Format Attributes in the feature service feature type properties in the FeatureWriter but they do not serve a purpose.

@andreaatsafe 

To fix your workspace,

#2. If you enable Output ports to one per feature type in your FeatureWriter, your spatial features will appear in its own output port on the FeatureWriter.

#3. merge the output port from the FeatureWriter to the output port of the FeatureReader to a FeatureJoiner, something like below. The Joined port should have what you need to configure the AttachmentConnector.

 

 

Note that the FeatureWriter and FeatureReader in this case, will have to run separatey. Run up to the Feature Writer first. Once you have the FeatureWriter and its feature layer created, configure your FeatureReader to read the newly created feature service and then continue running up to the end.