<?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 Editing sql in a query layer published as a map service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-sql-in-a-query-layer-published-as-a-map/m-p/458343#M17746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made a &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/make-query-layer.htm"&gt;query layer&lt;/A&gt;&amp;nbsp;based on some MSSQL Server tables which I've published as a map service. Now I'm wondering if it's possible to edit the sql defining the query layer via the REST API of the map service. I'd like users of a web app to tweak some parameters such as date range, which would in turn edit the sql statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips as to whether this is do-able?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rowan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 10:00:16 GMT</pubDate>
    <dc:creator>RowanWinsemius</dc:creator>
    <dc:date>2016-10-27T10:00:16Z</dc:date>
    <item>
      <title>Editing sql in a query layer published as a map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-sql-in-a-query-layer-published-as-a-map/m-p/458343#M17746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made a &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/make-query-layer.htm"&gt;query layer&lt;/A&gt;&amp;nbsp;based on some MSSQL Server tables which I've published as a map service. Now I'm wondering if it's possible to edit the sql defining the query layer via the REST API of the map service. I'd like users of a web app to tweak some parameters such as date range, which would in turn edit the sql statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips as to whether this is do-able?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rowan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/editing-sql-in-a-query-layer-published-as-a-map/m-p/458343#M17746</guid>
      <dc:creator>RowanWinsemius</dc:creator>
      <dc:date>2016-10-27T10:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Editing sql in a query layer published as a map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-sql-in-a-query-layer-published-as-a-map/m-p/458344#M17747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can probably take advantage of &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Dynamic_Layer_Table/02r3000000q0000000/"&gt;dynamic layers&lt;/A&gt;&amp;nbsp;to pass in your own layer definition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 21:39:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/editing-sql-in-a-query-layer-published-as-a-map/m-p/458344#M17747</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-10-27T21:39:54Z</dc:date>
    </item>
  </channel>
</rss>

