SyncSurvey
SyncSurvey copied to clipboard
Error in getting msd file path
Hi
@tedrick
I have published a survey and is published as a hosted feature service on our portal
. It currently has 3000 odd record and is getting updated everydays, and I was unable to download the geodatabase. Then I found out that there is a tool syncsurvey which helps to download the gdb along with relationships and attachments, and also be able to filter the records .
I tried to run the script on arcmap (toolbox) however I am getting an error as shown below
I have also attached the parameters that I used for the tool as follows
If someone could help me out in this regards it would be great as we want the records in gdb format
I am using arcgis portal 10.4 and survey123 connect 2.4.6 to publish the survey.
@SrinivasRIL - just to confirm, the hosted feature service has Sync capabilities enabled? That is a requirement for the method the script uses to get the geodatabase and would be likely to generate an error message at the point you are experiencing.
HI,
@tedrick
Yes the sync capabilites are enabled as shown
Can you try to manually trigger the createReplica
action from the Service URL? Settings:
replicaParameters = { "geometry": "-180,-90,180,90", "geometryType": "esriGeometryEnvelope", "inSR":4326, "transportType":"esriTransportTypeUrl", "returnAttachments":True, "returnAttachmentsDatabyURL":False, "async":True, "syncModel":"none", "dataFormat":"filegdb", }
Hi,
I tried creating replica from the service url earlier too but I keep getting this error, Read Time Out.
@SrinivasRIL - sorry to see that; it means the script won't work as it is currently designed. Just curious, if you do an export to GDB, what is the size of the unzipped folder?
It may be possible to do a manual seeding using a data download and then modify the script to apply layer queries so that the time filter the script currently does on your computer instead is done when the replica is created - this would shrink the data size, and presumably the processing time.