I am trying to figure out how to directly connect an enterprise database featureclass to AGOL without having it hosted online. It seems that however I do it, AGOL uploads the data and hosts it online. I want to keep the data in my Enterprise database in my organisation so I can update the data in my office, but allow agol popups and editing through hosted webmaps.
Can anyone tell me how this is done? I have tried so many different ways that I have lost count of how many days I have wasted trying to figure it out.
I am not sure that you can directly publish from your local enterprise geodatabase to ArcGIS Online without copying the data to Online.
The only option, that I know of, is to publish the data to a local ArcGIS Enterprise (or ArcGIS Server) deployment and then register the REST end point within ArcGIS Online.
Note - the REST end point would have to have access to ArcGIS Online.
Add items—ArcGIS Online Help | Documentation