<?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 Labeling Expression Where: is not null in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/labeling-expression-where-is-not-null/m-p/485449#M2328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Labeling_objects/02r3000001m1000000/"&gt;REST API&lt;/A&gt; shows the following example to query:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;"where" : "NAME LIKE 'A%'"&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to only label features with values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/78822_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to update the definition of the service and the specific feature layer with: "where" : "NAME is not null" . But the labels disappear completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried to use the the example esri provides: &lt;SPAN style="font-family: monospace;"&gt;"where" : "NAME LIKE 'A%'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, something happens in the background to encode the value: "where":"NAME LIKE &lt;STRONG&gt;\u0027&lt;/STRONG&gt;A%&lt;STRONG&gt;\u0027&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I set labelingInfo where:"Field is not null" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 14:35:14 GMT</pubDate>
    <dc:creator>DavinShokes1</dc:creator>
    <dc:date>2015-03-26T14:35:14Z</dc:date>
    <item>
      <title>Labeling Expression Where: is not null</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/labeling-expression-where-is-not-null/m-p/485449#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Labeling_objects/02r3000001m1000000/"&gt;REST API&lt;/A&gt; shows the following example to query:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;"where" : "NAME LIKE 'A%'"&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to only label features with values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/78822_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to update the definition of the service and the specific feature layer with: "where" : "NAME is not null" . But the labels disappear completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried to use the the example esri provides: &lt;SPAN style="font-family: monospace;"&gt;"where" : "NAME LIKE 'A%'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, something happens in the background to encode the value: "where":"NAME LIKE &lt;STRONG&gt;\u0027&lt;/STRONG&gt;A%&lt;STRONG&gt;\u0027&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I set labelingInfo where:"Field is not null" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 14:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/labeling-expression-where-is-not-null/m-p/485449#M2328</guid>
      <dc:creator>DavinShokes1</dc:creator>
      <dc:date>2015-03-26T14:35:14Z</dc:date>
    </item>
  </channel>
</rss>

