SyncSurvey icon indicating copy to clipboard operation
SyncSurvey copied to clipboard

Error in getting msd file path

Open SrinivasRIL opened this issue 7 years ago • 5 comments

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 capture1 I have also attached the parameters that I used for the tool as follows capture2 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 avatar Jan 31 '18 12:01 SrinivasRIL

@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.

tedrick avatar Jan 31 '18 16:01 tedrick

HI, @tedrick Yes the sync capabilites are enabled as shown capture3

SrinivasRIL avatar Feb 01 '18 04:02 SrinivasRIL

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", }

tedrick avatar Feb 01 '18 04:02 tedrick

Hi, I tried creating replica from the service url earlier too but I keep getting this error, Read Time Out. image

SrinivasRIL avatar Feb 01 '18 08:02 SrinivasRIL

@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.

tedrick avatar Feb 01 '18 18:02 tedrick