<?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 ArcGIS Server JSON Queries not working in new mapviewer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-server-json-queries-not-working-in-new/m-p/1111916#M42769</link>
    <description>&lt;P&gt;I created a map in the classic mapviewer that references secured ArcGIS Server layers (credentials are not stored). One of the layers I was using is a spatial view in the SDE and another has related tables through a relationship class.&lt;/P&gt;&lt;P&gt;When I open the map in the new mapviewer the data in the layers isn't showing on the map (although I am able to open the attribute table and look at the data). When I look at the console I get the error &lt;STRONG&gt;"An SQL statement with comments and/or semicolon is invalid". &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried to remake my map so that I can use it in the new ArcGIS Dashboards and the data shows up when it is just looking for the objectid, but as soon as I try to symbolize the data on a field I get the same error, or sometimes - an invalid SQL statement was used.&lt;/P&gt;&lt;P&gt;I checked my ArcGIS server logs and it is pretty much the same error:&amp;nbsp;&lt;SPAN&gt;An invalid where clause or definition expression has been requested: followed by my fieldnames.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How did the way that the JSON query is made change in the new mapviewer, and how can I work around this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 22:17:18 GMT</pubDate>
    <dc:creator>StefanieWenker</dc:creator>
    <dc:date>2021-10-27T22:17:18Z</dc:date>
    <item>
      <title>ArcGIS Server JSON Queries not working in new mapviewer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-server-json-queries-not-working-in-new/m-p/1111916#M42769</link>
      <description>&lt;P&gt;I created a map in the classic mapviewer that references secured ArcGIS Server layers (credentials are not stored). One of the layers I was using is a spatial view in the SDE and another has related tables through a relationship class.&lt;/P&gt;&lt;P&gt;When I open the map in the new mapviewer the data in the layers isn't showing on the map (although I am able to open the attribute table and look at the data). When I look at the console I get the error &lt;STRONG&gt;"An SQL statement with comments and/or semicolon is invalid". &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried to remake my map so that I can use it in the new ArcGIS Dashboards and the data shows up when it is just looking for the objectid, but as soon as I try to symbolize the data on a field I get the same error, or sometimes - an invalid SQL statement was used.&lt;/P&gt;&lt;P&gt;I checked my ArcGIS server logs and it is pretty much the same error:&amp;nbsp;&lt;SPAN&gt;An invalid where clause or definition expression has been requested: followed by my fieldnames.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How did the way that the JSON query is made change in the new mapviewer, and how can I work around this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 22:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-server-json-queries-not-working-in-new/m-p/1111916#M42769</guid>
      <dc:creator>StefanieWenker</dc:creator>
      <dc:date>2021-10-27T22:17:18Z</dc:date>
    </item>
  </channel>
</rss>

