<?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 Re: 4.19 to 4.21 update, new errors in console in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1147204#M76460</link>
    <description>&lt;P&gt;Any update on this?&amp;nbsp; I have the same exact errors coming from the Tiger/web transportation layers:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Transportation/MapServer" target="_blank"&gt;https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Transportation/MapServer&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The service has labels on the layers but my JavaScript 4.20.2 application does not have labels turned on for the layer.&amp;nbsp; The layers and application seem to be working without issue.&amp;nbsp; But the errors in the console do not look good.&amp;nbsp; Any help would be appreciated.&amp;nbsp; Thanks very much.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 23 Feb 2022 20:15:47 GMT</pubDate>
    <dc:creator>NilsBabel1</dc:creator>
    <dc:date>2022-02-23T20:15:47Z</dc:date>
    <item>
      <title>4.19 to 4.21 update, new errors in console</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1117964#M75332</link>
      <description>&lt;P&gt;I updated my application from 4.19 to 4.21 today and changed nothing else. I'm now seeing 20 of the following SyntaxError originating in&amp;nbsp;[esri.views.layers.FeatureLayerView] show up in Chrome Dev Tools.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SyntaxError screenshot" style="width: 625px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27706iAB6D332FAC77A5AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="FLV_syntaxError.PNG" alt="SyntaxError screenshot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SyntaxError screenshot&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the full 'message' property content:&lt;/P&gt;&lt;P&gt;Expected "!", "'", "(", "+", "-", "@", "CASE", "DATE", "EXTRACT", "FALSE", "INTERVAL", "N'", "NOT", "NULL", "POSITION", "SUBSTRING", "TIMESTAMP", "TRIM", "TRUE", "`", [ \t\n\r], [0-9], or [A-Za-z_\x80-&amp;#65535;] but "\"" found.&lt;/P&gt;&lt;P&gt;And here is the stack trace:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FLV_syntaxError_trace.PNG" style="width: 447px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27707i5AEA87D09A5640FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="FLV_syntaxError_trace.PNG" alt="FLV_syntaxError_trace.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The error doesn't appear to impact anything in the application as far as I can tell. All layers are present and popups are working. Widgets that interact with layers and the legend are working. The number of errors doesn't match the number of layers in the application, or the number of GroupLayers the FeatureLayers are within, so the 20 repetitions is a mystery. Does anyone know if this is something to be concerned about?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 22:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1117964#M75332</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-17T22:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: 4.19 to 4.21 update, new errors in console</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1118007#M75333</link>
      <description>&lt;P&gt;It's unclear, but if you can provide a sample, might be able to help. Could be in the type of layer, definitionExpression, some query, arcade expression maybe. Not an easy way to see without a demo to test against.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 01:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1118007#M75333</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-11-18T01:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: 4.19 to 4.21 update, new errors in console</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1118813#M75346</link>
      <description>&lt;P&gt;Thanks for the suggestions, Rene.&lt;/P&gt;&lt;P&gt;Thanks to that I've narrowed it down to two layers which have label classes defined in ArcMap. Labels are not displaying in the JSAPI 4x application, but they are in ArcMap 10.8.1 and when the service is viewed directly in ArcGIS Online with both the old and new map viewers. Our ArcGIS Server is also on 10.8.1.&lt;/P&gt;&lt;P&gt;The label classes are defined with these parameters:&lt;/P&gt;&lt;P&gt;Class 1 -&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SQL Query: "DISTRICT" IS NULL&lt;/LI&gt;&lt;LI&gt;Expression (VBScript): [NAME]&lt;/LI&gt;&lt;LI&gt;Default scale range and placement properties&lt;/LI&gt;&lt;LI&gt;Text halo&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Class 2 -&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SQL Query: "DISTRICT" IS NOT NULL&lt;/LI&gt;&lt;LI&gt;Expression (VBScript): [DISTRICT]&lt;/LI&gt;&lt;LI&gt;Default scale range and placement properties&lt;/LI&gt;&lt;LI&gt;Text halo&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, simple configuration as far as I can tell. When I remove the classes and label all features with [DISTRICT] or [NAME] the labels work in the app. The JS4x application never accesses or sets any labelling properties directly. Each FeatureLayer is created using the sublayer URL in the service, and has title, ID, visibility and listMode set on creation, and defaults to ["*"] for outFields.&lt;/P&gt;&lt;P&gt;Now that I've found this I notice the labels also don't work in the live 4.19 application, but the FeatureLayer errors don't show up in the console so I haven't noticed before. The two layers are the Spring Turkey and Fall Turkey Hunting District layers. &lt;A href="https://fwp.mt.gov/gis/maps/huntPlanner/?species=turkey_spring&amp;amp;showRef=false&amp;amp;showOwn=false" target="_blank" rel="noopener"&gt;Here's a link to the application with only the Spring Turkey layer loaded&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 19:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1118813#M75346</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-19T19:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: 4.19 to 4.21 update, new errors in console</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1147204#M76460</link>
      <description>&lt;P&gt;Any update on this?&amp;nbsp; I have the same exact errors coming from the Tiger/web transportation layers:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Transportation/MapServer" target="_blank"&gt;https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Transportation/MapServer&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The service has labels on the layers but my JavaScript 4.20.2 application does not have labels turned on for the layer.&amp;nbsp; The layers and application seem to be working without issue.&amp;nbsp; But the errors in the console do not look good.&amp;nbsp; Any help would be appreciated.&amp;nbsp; Thanks very much.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Feb 2022 20:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-19-to-4-21-update-new-errors-in-console/m-p/1147204#M76460</guid>
      <dc:creator>NilsBabel1</dc:creator>
      <dc:date>2022-02-23T20:15:47Z</dc:date>
    </item>
  </channel>
</rss>

