<?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: javascript 4.6 and labeling FeatureLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494114#M45909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont understand if labeling (for example with angle) is possible for a "hosted feature layer" on AGOL in 4.8. Could you tell me? (Sorry I am not able relate the word "FeatureServer service".)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 14:38:33 GMT</pubDate>
    <dc:creator>MichaelLodes2</dc:creator>
    <dc:date>2018-08-29T14:38:33Z</dc:date>
    <item>
      <title>javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494103#M45898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to javascript, but I am trying to put together a fairly simple application with v4.6.&amp;nbsp; I have a contour layer that I am adding with &lt;EM&gt;new FeatureLayer(),&lt;/EM&gt; but I am having a hard time getting it to label with elevation.&amp;nbsp; I have tried using a Map Service hosted on our server, as well as, a hosted Feature Layer on AGOL (where the contours are already labeled in both).&amp;nbsp; No luck with either.&amp;nbsp; I have read that you can't label a 2D map, does this mean that it is virtually impossible to label the contours??&amp;nbsp; Is there any work around?&amp;nbsp; A label would be so much better than a pop-up.&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 22:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494103#M45898</guid>
      <dc:creator>CynthiaKozma</dc:creator>
      <dc:date>2018-01-09T22:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494104#M45899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That is correct if you need to label on the client then you have to use 3.x currently. If you have the mxd label the contours then when you add the MapImageLayer you will see the labels in 4.x though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 23:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494104#M45899</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-09T23:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494105#M45900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it!&amp;nbsp; I used the MapImageLayer instead, and I got my labels.&amp;nbsp; If that is what it takes for now.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 23:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494105#M45900</guid>
      <dc:creator>CynthiaKozma</dc:creator>
      <dc:date>2018-01-09T23:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494106#M45901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there any updates on when this might come down the pipe?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:12:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494106#M45901</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-08-17T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494107#M45902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently (4.8) labeling is supported for Point and Polygon Feature coming from a FeatureServer service on 10.6.1 server (not a MapServer service).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494107#M45902</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-08-17T19:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494108#M45903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently trying to label a MapServer FeatureLayer (kind of like this example -&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/labels-basic/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/labels-basic/index.html"&gt;Add labels to a FeatureLayer | ArcGIS API for JavaScript 4.8&lt;/A&gt;&amp;nbsp;), but I'm not having much luck. So far, I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Labeled on the MXD (the service now shows &lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Has Labels:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;true)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;2) Set-up a labelClass, as per the example referenced&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;3) Set labelsVisible: true in the FeatureLayer instantiation as per&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#labelsVisible" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#labelsVisible"&gt;FeatureLayer | API Reference | ArcGIS API for JavaScript 4.8&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;4) Set labelingInfo: [labelClass], as per the example referenced&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;5) Set dojoConfig&amp;nbsp;"esri-featurelayer-webgl": 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;6) Double and triple checked spelling for things like the labelingExpressionInfo expression, e.g. "$feature.AreaName", which refers to the field labeled in the MXD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;There are no JS errors; I am attempting to label a polygon FeatureLayer. Any ideas for anything I might be missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:40:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494108#M45903</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-08-17T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494109#M45904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like I said ONLY FeatureServer services are supported that come from ArcGIS Server 10.6.1 or AGOL It will NOT work with a MapServer url.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 20:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494109#M45904</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-08-17T20:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494110#M45905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I kinda figured that would be the answer after re-reading the thread. It wasn't abundantly clear in the known limitations section of the example. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 20:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494110#M45905</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-08-17T20:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494111#M45906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A MapServer will work in 4.9&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 20:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494111#M45906</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-08-17T20:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494112#M45907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! You'd think that would have been available much sooner as a core function...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 20:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494112#M45907</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-08-17T20:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494113#M45908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The team has years of work to re-produce to get the 4.x API up to par with 3.x... Think about how&amp;nbsp;many years the 3.x API has been out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 20:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494113#M45908</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-08-17T20:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494114#M45909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont understand if labeling (for example with angle) is possible for a "hosted feature layer" on AGOL in 4.8. Could you tell me? (Sorry I am not able relate the word "FeatureServer service".)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494114#M45909</guid>
      <dc:creator>MichaelLodes2</dc:creator>
      <dc:date>2018-08-29T14:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494115#M45910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;A hosted featurelayer will be a FeatureService. What is meant by FeatureService is "FeatureService" in the url Vs. MapService that you might have on your own ArcGIS Server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494115#M45910</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-08-29T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494116#M45911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 4.9 with a FeatureService on Server 10.5.1.&amp;nbsp; I can render labels, but it seems that the 'where' property of the LabelClass does not work properly.&amp;nbsp; Is this a known issue, or am I missing something?&amp;nbsp; See below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const classificationClass = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; labelExpressionInfo: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression: "$feature.SPACECLASS + TextFormatting.NewLine + $feature.SPACEID"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; minScale: 100,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; labelPlacement: "always-horizontal",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol: brnTxtSym, // defined elsewhere&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where: "SPACECLASS = 'Office'" // &amp;lt;-----This does not work&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 18:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494116#M45911</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2018-11-01T18:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494117#M45912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William. Currently, the `where` property only has limited support. We are hoping to expand it's usage at the next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#where" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#where"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#where&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I would recommend using Arcade for the labeling logic in the labelExpression or labelExpressionInfo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Noah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 16:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494117#M45912</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2018-11-02T16:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494118#M45913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Arcade for the textual logic, however I would like to symbolize features based on attributes.&lt;/P&gt;&lt;P&gt;Similar to this example:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=labels-multiple-classes" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=labels-multiple-classes"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for whatever reason, my where clause (for a string type field) does not work.&lt;/P&gt;&lt;P&gt;If, for example, I change my where clause to "OBJECTID &amp;gt; 120", it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 17:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494118#M45913</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2018-11-06T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: javascript 4.6 and labeling FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494119#M45914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a&amp;nbsp;&lt;STRONG&gt;partial&lt;/STRONG&gt; solution.&amp;nbsp; Text field comparisons do not require text to be wrapped in single quotes.&lt;/P&gt;&lt;P&gt;For instance, from the link Noah provided:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE class=""&gt;labelClass.where = &lt;SPAN class=""&gt;"CITYNAME = 'Redlands'"&lt;/SPAN&gt;;

should be:

labelClass.where = "CITYNAME = Redlands";

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;EDIT&lt;/STRONG&gt;: This does not seem to apply to strings with spaces - i.e. &lt;CODE class=""&gt;&lt;SPAN class=""&gt;"CITYNAME = Redlands North" - does not work, with or without single quotes.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;SPAN class=""&gt;Another undocumented limitation.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:32:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-4-6-and-labeling-featurelayer/m-p/494119#M45914</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2021-12-12T16:32:24Z</dc:date>
    </item>
  </channel>
</rss>

