Select to view content in your preferred language

Unable to Publish SLPK - No editing capability

166
0
05-15-2024 05:39 PM
CiciXiao
Esri Contributor
gis = GIS('home')
owner = gis.properties.user.username
package = gis.content.add(item_properties=item_properties, data=os.path.join(os.path.dirname(gdb), slpk))
published_layer = package.publish()

I am getting errors when adding SLPK to gis.content. My SLPK is stored in the same folder as my designated GDB directory. I'd like to publish them to AGOL.

 

Error: Unable to publish. Check that editing capabilties are enabled on your service.

0 Kudos
0 Replies