<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Access ArcGIS Server database content from JavaScript application in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749715#M69349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to access a SQL Server database containing some shapefiles and tables located on an ArcGIS Server.&lt;BR /&gt;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)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How am I supposed to do ?&lt;BR /&gt;For example I would like to query a table to print its content in my application,&lt;BR /&gt;or get a shapefile to add it to a webmap (in this case I guess I'll have to publish it)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2017 08:58:45 GMT</pubDate>
    <dc:creator>DavidLelouche</dc:creator>
    <dc:date>2017-05-02T08:58:45Z</dc:date>
    <item>
      <title>Access ArcGIS Server database content from JavaScript application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749715#M69349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to access a SQL Server database containing some shapefiles and tables located on an ArcGIS Server.&lt;BR /&gt;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)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How am I supposed to do ?&lt;BR /&gt;For example I would like to query a table to print its content in my application,&lt;BR /&gt;or get a shapefile to add it to a webmap (in this case I guess I'll have to publish it)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 08:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749715#M69349</guid>
      <dc:creator>DavidLelouche</dc:creator>
      <dc:date>2017-05-02T08:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Access ArcGIS Server database content from JavaScript application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749716#M69350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You access ArcGIS Server services using the REST endpoint for that service. You can get the REST urls from your ArcGIS Server by using &lt;A href="http://servername/arcgis/rest/services"&gt;http://servername/arcgis/rest/services&lt;/A&gt;. Then you can use the JS API Query sample to get you started with JS API code to actually query this service using the JS API.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/query_nomap.html" title="https://developers.arcgis.com/javascript/3/jssamples/query_nomap.html"&gt;Query data without a map | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to &lt;STRONG&gt;edit features&lt;/STRONG&gt; then you have to publish a Feature Access Feature Service to your ArcGIS Server&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/publish-services/windows/what-is-a-feature-service-.htm" title="http://server.arcgis.com/en/server/latest/publish-services/windows/what-is-a-feature-service-.htm"&gt;What is a feature service?—Documentation | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 12:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749716#M69350</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-05-02T12:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Access ArcGIS Server database content from JavaScript application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749717#M69351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer, I'll look at the links you gave me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 07:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-arcgis-server-database-content-from/m-p/749717#M69351</guid>
      <dc:creator>DavidLelouche</dc:creator>
      <dc:date>2017-05-03T07:15:24Z</dc:date>
    </item>
  </channel>
</rss>

