Hello All,
I'm trying to create a new hosted feature layer w/o using an existing CSV, Shapefile, etc. I have an example which works to create the Feature Layer Collection, e.g.
empty_service_item = gis.content.create_service(name='awesome_python', service_type='featureService')
but I can't seem to get the code right for adding a Feature Layer and defining it's fields. The examples I've found are either incomplete or don't work with the current API. Can someone please help me?
Thanks!