Skip to main content

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.

 

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

 


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

 


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


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.


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,

 

 


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.


 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!


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


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


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

@toshfly please DM you email to me. Thanks!


@salvaleonrp 

Could you please share me the workspace 

 

abnan0001@gmail.com

 

i shall be thankful to you 

 

 


@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


@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 



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



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

.