I'm trying to access a SQL Server database containing some shapefiles and tables located on an ArcGIS Server.
I managed to access and edit these data with ArcGIS Desktop and arcpy, but I didn't find how to do it in a web application (using ArcGIS JavaScript or Leaflet)
How am I supposed to do ?
For example I would like to query a table to print its content in my application,
or get a shapefile to add it to a webmap (in this case I guess I'll have to publish it)