ArcREST icon indicating copy to clipboard operation
ArcREST copied to clipboard

Can disable sync be used to enable sync?

Open tpcolson opened this issue 7 years ago • 1 comments

Can https://github.com/Esri/ArcREST/blob/master/samples/disable_sync_service_item.py also be used to ENABLE sync by just changing

result = fst.disableSync(url=fs.url)

to

result = fst.enableSync(url=fs.url)

I have a scenario where I need to disable sync, do something, then re-enable it

tpcolson avatar May 24 '17 13:05 tpcolson

yes, https://github.com/Esri/ArcREST/blob/master/src/arcresthelper/featureservicetools.py#L254

MikeMillerGIS avatar May 24 '17 13:05 MikeMillerGIS