AnsweredAssumed Answered

ArcREST Create Replica

Question asked by ziegenf2 on Dec 14, 2015
Latest reply on Jan 19, 2016 by SPrindle-esristaff

Can anybody help me with my parameters for this script that Creates a Replica using ArcREST? I need the attachments returned. This says that the attachmentsSyncDirection parameter is invalid. Any help is appreciated! Thanks!

 

 

    result = fs.createReplica(replicaName='Demo',

                              layers=[0,1],

                              dataFormat="filegdb",

                              async= True,

                              transportType="esriTransportTypeURL",

                              wait = True,

                              returnAttachments= True,

                              syncModel= "perReplica",

                              attachmentsSyncDirection="Download",

                              out_path='I:\DI\Projects\GIS Work\Projects\Inspection ArcGIS online\2.0 Database\SYNC__AGOL\test_kellyziegenfuss')

Outcomes