Select to view content in your preferred language

Downloading Survey123 Attachements to SharePoint

241
5
3 weeks ago
YasnaiaMassie
Occasional Contributor

I have a Survey123 published to my portal ArcGIS Enterprise 11.1. And one of the survey questions is to upload a file (PDF, xlsx, or JPEG).

Question:
Every time a Survey is submitted with an attachment, I want the attachment to be downloaded to SharePoint or submitted to a specific email.
How can I accomplish this task?

Tools:
I do have Power Automate, but I do not have access to ArcGIS Enterprise, and/or Survey123 connectors. My Portal is behind a firewall which doesn’t allow me access to “Survey connector”.
My  Power Automate platform, does not support surveys published to ArcGIS Enterprise.

 

Loophole:
Considering my limitations not having access to “Survey connector”, I was wondering if I can use a flow with “When A HTTP request is received” to accomplish my goal.

 

I appreciate any help figuring out this flow. Thank you

YasnaiaMassie_0-1750281999064.png

 

0 Kudos
5 Replies
DavidSolari
MVP Regular Contributor

Unless there's some on-premises setup for Power Automate I haven't heard about, neither it nor any cloud hosted automation platform is going to play nice with your firewall. You'll have to work with your IT team to either A) punch a hole in the firewall just for the automation platform or B) do something like a scheduled task on a machine with ArcGIS Server access which pulls recent survey submissions and does the automated work. The latter is certainly more maintenance work than using a visual code platform like PA but it doesn't compromise your team's security plan.

0 Kudos
YasnaiaMassie
Occasional Contributor

Thank you David,

That makes sense.
Option "B" is the way to go.
Could you please point me out instructions to option "B"?

Thank  you

0 Kudos
DavidSolari
MVP Regular Contributor

Good old Windows Task Scheduler appears to be a sensible way to schedule tasks on your server machine. Your team will have to write the tool that pulls the required data and does stuff with it, but you maybe be able to get away with writing a Python script and leaning on the ArcGIS API for Python to do the heavy lifting.

0 Kudos
YasnaiaMassie
Occasional Contributor

Thank you 

0 Kudos
Neal-Kittelson
Frequent Contributor

To follow up with @DavidSolari 's suggestion, this should work as a base script for the python,  you or someone with python knowledge should be able to modify it to fit your needs.

https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-download-survey-da...

0 Kudos