Select to view content in your preferred language

Can you get the arcgis python api to publish data?

10-24-2016 06:02 AM
New Contributor III

My apologizes for cross posting, but I did not get any response on the rest board.

I am using the arcgis python api to push data into my arcgis online account and then publish the data to a group. Using the following code I am able to do all this, but when I look at the published table, it's empty.


I have also tried to do this trying to set the last parameter to csv, and passing None values into the address field mapping.


Does anyone have any thoughts on how to get this to work?


print('Add table into account')
item = gis.content.add({}, data)


print('Publish table')
published_item = item.publish(None, {"Neighborhood": "BLOCK"})

Tags (1)
0 Kudos
1 Reply
Esri Regular Contributor

Hi Guido Stein‌, as the Python API is still in Beta, I would recommend posting your questions to the user forums on the Esri Early Adopter Community: 

On those forums the Product Team and Support are actively looking at issues and providing responses there.



0 Kudos