arcgis python api publish table is not populating data

806
0
10-21-2016 11:28 AM
GuidoStein
New Contributor III

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>')

Tags (3)
0 Kudos
0 Replies