Select to view content in your preferred language

Enable Sync via Python API during publish.

911
0
03-06-2017 07:38 PM
BlakeGardiner2
Emerging Contributor

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