I am running the demo script on this page to published a hosted feature layer.
https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/featuresharingdraft-class.htm#:~:text=Service%20Definition%20tools.-,Code%20sample,-Publish%20a%20webhttps://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/featuresharingdraft-class.htm#:~:text=Service%20Definition%20tools.-,Code%20sample,-Publish%20a%20webhttps://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/featuresharingdraft-class.htm
It works perfectly well, except that it completely ignores 'featureCapabilities'
Here is how I want to set it up:
sddraft.featureCapabilities = "Create,Delete,Query,Update,Editing,Extract,Sync,ChangeTracking"
I've tried several options, all completely ignored in the published service.
Is there an extra step or something that I'm missing here?
Thank you for any assistance you may be able to provide.
Randy McGregor