Little bit of background on the problem: I have been working on a PHP application with an SQL Server backend. The application works through a web browser, but, I've recently been tasked with allowing data access through ArcGIS Server in order to be able to use Survey123 to update data in the database.
The SQL Server database has been registered with ArcGIS Server and when I go to the Site tab -> Data Stores the database name shows up in the list of data stores and has been successfully validated.
However, my question now is, how do I access the database through ArcGIS Online? More specifically, how can I connect to the database through an online map?
I've looked on Google and this site for information on this but I haven't been able to find any. Does anyone know of a good place to find information on accessing a registered database through ArcGIS Server and displaying the data in a map?
Best Answer
If you want the data from SQL DB to be viewed in an ArcGIS Online (AGOL) map you have two options:
You cannot add SQL Server layers directly into an AGOL map without a service or export.