Skip to main content
Question

Can FME Write ArcGIS Enterprise Attachments

  • July 29, 2024
  • 15 replies
  • 610 views

bingy
Participant
Forum|alt.badge.img+1

Hi Everyone, 

Looking for some assistance, I’m using FME 2023.1.0.0 trying to migrate some existing Survey-123 forms and data with attachments from ArcGIS On-Line to our new Enterprise portal.

Our survey-123 form has a singular photos field for tracking a picture of the bus stop, it also has a repeatable photo’s field (table) where the inspector is able to take and attach multiple deficiency photos to the stop if one exists.  In FME, I’m able to read in the AGOL feature service that hosts all of the survey information, I’m also able to write out the tabular information from the point layer to the new Enterprise feature layer that was created when I saved the Survey-123 form in Enterprise.

The part that I’m currently struggling with is getting the singular photos to attach when writing the tabular information out to the Enterprise feature service so when I view the points in ArcGIS Pro, they appear in the attachments tab of the attributes editor like they currently do with my AGOL service.

 

15 replies

lynne
Contributor
Forum|alt.badge.img+3
  • Contributor
  • November 22, 2024

@bingy I am trying to do something similar. Did you make any progress on this?

 


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • December 3, 2024

There is no out of the box solution but by using the HTTPCaller and Enterprise Rest API it can be done.

Here’s working examples and blogs for Data Interoperability that can be applied using FME Form as well.

The first one is my favorite when writing attachments to a geodatabase.

https://community.esri.com/t5/arcgis-data-interoperability-blog/code-free-web-integration-with-a-touch-of-arcpy/ba-p/883683

Here’s an ESRI Community question that talks about attachment too.

https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294

My comment below this community question shows some guidelines in writing attachments across the ESRI stack and a response to the person who asked the question that we resolved his Enterprise solution together.

 

Here’s screenshots of the solution I provided to the user:

STEP 1

Create the Portal feature service and download images into windows folder

STEP 2.

Read the portal feature service and the pictures to load into the feature layer using HTTPCaller

 


abnan0001
Supporter
Forum|alt.badge.img+9
  • Supporter
  • December 19, 2024

There is no out of the box solution but by using the HTTPCaller and Enterprise Rest API it can be done.

Here’s working examples and blogs for Data Interoperability that can be applied using FME Form as well.

The first one is my favorite when writing attachments to a geodatabase.

https://community.esri.com/t5/arcgis-data-interoperability-blog/code-free-web-integration-with-a-touch-of-arcpy/ba-p/883683

My comment on the question belows shows some guidelines in writing attachments across the ESRI stack and a response to the person who asked the question that we resolved his Enterprise solution together.

https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294

Here’s screenshots of the solution I provided to the user:

STEP 1

Create the Portal feature service and download images into windows folder

STEP 2.

Read the portal feature service and the pictures to load into the feature layer using HTTPCaller

 


Hi

Can we have this both workspace and try 

 

we shall be thankful to you

 

Thanks Again


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • December 19, 2024

There is no out of the box solution but by using the HTTPCaller and Enterprise Rest API it can be done.

Here’s working examples and blogs for Data Interoperability that can be applied using FME Form as well.

The first one is my favorite when writing attachments to a geodatabase.

https://community.esri.com/t5/arcgis-data-interoperability-blog/code-free-web-integration-with-a-touch-of-arcpy/ba-p/883683

My comment on the question belows shows some guidelines in writing attachments across the ESRI stack and a response to the person who asked the question that we resolved his Enterprise solution together.

https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294

Here’s screenshots of the solution I provided to the user:

STEP 1

Create the Portal feature service and download images into windows folder

STEP 2.

Read the portal feature service and the pictures to load into the feature layer using HTTPCaller

 


Hi

Can we have this both workspace and try 

 

we shall be thankful to you

 

Thanks Again

Sent you a note.


hi_dog
Contributor
Forum|alt.badge.img+4
  • Contributor
  • February 18, 2025

There is no out of the box solution but by using the HTTPCaller and Enterprise Rest API it can be done.

Here’s working examples and blogs for Data Interoperability that can be applied using FME Form as well.

The first one is my favorite when writing attachments to a geodatabase.

https://community.esri.com/t5/arcgis-data-interoperability-blog/code-free-web-integration-with-a-touch-of-arcpy/ba-p/883683

My comment on the question belows shows some guidelines in writing attachments across the ESRI stack and a response to the person who asked the question that we resolved his Enterprise solution together.

https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294

Here’s screenshots of the solution I provided to the user:

STEP 1

Create the Portal feature service and download images into windows folder

STEP 2.

Read the portal feature service and the pictures to load into the feature layer using HTTPCaller

 


Hi

Can we have this both workspace and try 

 

we shall be thankful to you

 

Thanks Again

Sent you a note.



Hi salvaleonrp,

We are looking to do something similar at work, but have not figured out how. This looks very promising. Is it possible to get a hold of the script to dwelve into it a bit more? :-)

Best regards,

 

 


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • February 18, 2025

There is no out of the box solution but by using the HTTPCaller and Enterprise Rest API it can be done.

Here’s working examples and blogs for Data Interoperability that can be applied using FME Form as well.

The first one is my favorite when writing attachments to a geodatabase.

https://community.esri.com/t5/arcgis-data-interoperability-blog/code-free-web-integration-with-a-touch-of-arcpy/ba-p/883683

My comment on the question belows shows some guidelines in writing attachments across the ESRI stack and a response to the person who asked the question that we resolved his Enterprise solution together.

https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294

Here’s screenshots of the solution I provided to the user:

STEP 1

Create the Portal feature service and download images into windows folder

STEP 2.

Read the portal feature service and the pictures to load into the feature layer using HTTPCaller

 


Hi

Can we have this both workspace and try 

 

we shall be thankful to you

 

Thanks Again

Sorry, I just read your reply ​@abnan0001. If you still need it please PM me your email.


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • February 18, 2025

 your email as well.

There is no out of the box solution but by using the HTTPCaller and Enterprise Rest API it can be done.

Here’s working examples and blogs for Data Interoperability that can be applied using FME Form as well.

The first one is my favorite when writing attachments to a geodatabase.

https://community.esri.com/t5/arcgis-data-interoperability-blog/code-free-web-integration-with-a-touch-of-arcpy/ba-p/883683

My comment on the question belows shows some guidelines in writing attachments across the ESRI stack and a response to the person who asked the question that we resolved his Enterprise solution together.

https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294

Here’s screenshots of the solution I provided to the user:

STEP 1

Create the Portal feature service and download images into windows folder

STEP 2.

Read the portal feature service and the pictures to load into the feature layer using HTTPCaller

 


Hi

Can we have this both workspace and try 

 

we shall be thankful to you

 

Thanks Again

Sent you a note.



Hi salvaleonrp,

We are looking to do something similar at work, but have not figured out how. This looks very promising. Is it possible to get a hold of the script to dwelve into it a bit more? :-)

Best regards,

 

 

@hi_dog please pm me your email.  Thanks!


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • February 20, 2025

I wonder why this article did not appear on the Related Topics.

Anyway here’s a more direct solution avoiding the HTTPCaller.

https://support.safe.com/hc/en-us/articles/25407508005645-Writing-ArcGIS-Geodatabase-Attachments


toshfly
Participant
Forum|alt.badge.img+2
  • Participant
  • April 29, 2025

Hi, could I please get a copy of the fmw if possible? Thanks


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • April 29, 2025

Hi, could I please get a copy of the fmw if possible? Thanks

@toshfly please DM you email to me. Thanks!


abnan0001
Supporter
Forum|alt.badge.img+9
  • Supporter
  • August 26, 2025

@salvaleonrp 

Could you please share me the workspace 

 

abnan0001@gmail.com

 

i shall be thankful to you 

 

 


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • August 27, 2025

@salvaleonrp 

Could you please share me the workspace 

 

abnan0001@gmail.com

 

i shall be thankful to you 

 

 

I sent you the file the last time you asked for it. However, the solution has dramatically improved with the ArcGISAttachmentConnector hub transformer.

Please read this article as intro to use as template for your solution … https://support.safe.com/hc/en-us/articles/37177466948877-How-to-Use-the-ArcGISAttachmentConnector


abnan0001
Supporter
Forum|alt.badge.img+9
  • Supporter
  • August 27, 2025

@salvaleonrp 

Could you please share me the workspace 

 

abnan0001@gmail.com

 

i shall be thankful to you 

 

 

I sent you the file the last time you asked for it. However, the solution has dramatically improved with the ArcGISAttachmentConnector hub transformer.

Please read this article as intro to use as template for your solution … https://support.safe.com/hc/en-us/articles/37177466948877-How-to-Use-the-ArcGISAttachmentConnector



Thanks for the response and I have already implemented with this approach from service to local machine download for attachment and then uploading back to new feature service file..

My Query is 

From Feature service(ArcGIS Onlineconnector and ArcGIS Attachment connector) to Designed new master GDB with attachments to be stored.

Any Approach on this 


abnan0001
Supporter
Forum|alt.badge.img+9
  • Supporter
  • August 27, 2025


My comment on the article , I have asked last 10days before.
Thanks​​​​​​​


salvaleonrp
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • August 27, 2025


My comment on the article , I have asked last 10days before.
Thanks

I did not see your comment on that article, besides you used another profile name. I responded to your question on this post. If your destination is to a geodatabase then there’s a well written document and video that’s been available for a while.
https://support.safe.com/hc/en-us/articles/25407508005645-Writing-ArcGIS-Geodatabase-Attachments

.