Enable Sync via Python API during publish.

837
0
03-06-2017 07:38 PM
BlakeGardiner2
New Contributor II

Hi,

How can I enable Sync on a hosted feature service via the Python API, when publishing?

e.g is there a parameter I can add to the below..?

cont = {"type": "File Geodatabase", "title": 'test', "snippet": 'my snippet'}
fileGDB = gis.content.add(cont, zipFilePath)
published_service = fileGDB.publish()


Cheers,

0 Kudos
0 Replies