AnsweredAssumed Answered

Can you get the arcgis python api to publish data?

Question asked by gsteinmon on Oct 24, 2016
Latest reply on Oct 24, 2016 by Christian_Wells-esristaff

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"})
published_item.share(groups='<group_id>')

Outcomes