Skip to main content
Question

Can FME Write ArcGIS Enterprise Attachments


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.

 

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+15

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+7
  • Supporter
  • December 19, 2024
salvaleonrp wrote:

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+15
abnan0001 wrote:
salvaleonrp wrote:

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
Participant
Forum|alt.badge.img+4
  • Participant
  • February 18, 2025
salvaleonrp wrote:
abnan0001 wrote:
salvaleonrp wrote:

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+15
abnan0001 wrote:
salvaleonrp wrote:

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+15

 your email as well.

hi_dog wrote:
salvaleonrp wrote:
abnan0001 wrote:
salvaleonrp wrote:

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+15
  • 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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings