Just to clarify, do you want to create a new feature service, or just add a layer onto an existing service? The FME AGOL writer can do the former, but not the latter.
Either way, after your data has been written to ArcGIS Online, it *should* be possible to alter the layer properties through the REST API:
http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Update_Definition_Feature_Layer/02r30000022p000000/
I don't have a working example, however. Would love to see a workspace that does this, if anyone has managed it.
Just to clarify, do you want to create a new feature service, or just add a layer onto an existing service? The FME AGOL writer can do the former, but not the latter.
Either way, after your data has been written to ArcGIS Online, it *should* be possible to alter the layer properties through the REST API:
http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Update_Definition_Feature_Layer/02r30000022p000000/
I don't have a working example, however. Would love to see a workspace that does this, if anyone has managed it.
I found python code in Github that could do this:
https://github.com/ecaldwell/portal-admin-examples. This code uses the ArcGIS Rest API. Next challenge is to implement this using our infrastructure. Code is a bit too complex for me but I'll try to make it work first.