<?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: Excluding Labels for certain Classes in Web Map Viewer Classic in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066335#M40529</link>
    <description>&lt;P&gt;You could filter out that label using the new map viewer with the field-exludes-Unknown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RussellRoberts1_0-1623244032229.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15474iEF1E20FC402A7FC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RussellRoberts1_0-1623244032229.png" alt="RussellRoberts1_0-1623244032229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 13:07:49 GMT</pubDate>
    <dc:creator>RussRoberts</dc:creator>
    <dc:date>2021-06-09T13:07:49Z</dc:date>
    <item>
      <title>Excluding Labels for certain Classes in Web Map Viewer Classic</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066181#M40516</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Fiddling around with some map labels in Web Map Viewer Classic. I'm labelling a roads layer right now, and there's a specific class of road&amp;nbsp;&lt;EM&gt;don't&lt;/EM&gt; want labeled, but I still want symbolized by a different field.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Symbol draws all features by $feature["ROAD_USGS_CLASS_LBL"]&lt;/P&gt;&lt;P&gt;It labels all features by $feature["ROAD_NM"] except for one type, i.e. $feature["ROAD_USGS_CLASS_LBL"] = "Unknown"&lt;/P&gt;&lt;P&gt;Is there a way to exclude that specific case from labeling using an Arcade expression in the label text?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 21:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066181#M40516</guid>
      <dc:creator>Henry</dc:creator>
      <dc:date>2021-06-08T21:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Labels for certain Classes in Web Map Viewer Classic</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066188#M40520</link>
      <description>&lt;P&gt;maybe something like&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if ($feature.ROAD_USGS_CLASS_LBL == 'Unknown') {
  return ""
}
else {
  return $feature.ROAD_NM
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 08 Jun 2021 21:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066188#M40520</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-06-08T21:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Labels for certain Classes in Web Map Viewer Classic</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066335#M40529</link>
      <description>&lt;P&gt;You could filter out that label using the new map viewer with the field-exludes-Unknown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RussellRoberts1_0-1623244032229.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15474iEF1E20FC402A7FC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RussellRoberts1_0-1623244032229.png" alt="RussellRoberts1_0-1623244032229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 13:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066335#M40529</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2021-06-09T13:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Labels for certain Classes in Web Map Viewer Classic</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066671#M40540</link>
      <description>&lt;P&gt;Thanks David,&lt;/P&gt;&lt;P&gt;Wasn't working for a bit, but turns out that the name was recorded as Unknown, not the label class - I modified my expression like so:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if ($feature["ROAD_NM"] == "UNKNOWN"){
return ""
}
else {
return $feature["ROAD_NM"]
}&lt;/LI-CODE&gt;&lt;P&gt;And it seemed to do the trick!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 21:34:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/excluding-labels-for-certain-classes-in-web-map/m-p/1066671#M40540</guid>
      <dc:creator>Henry</dc:creator>
      <dc:date>2021-06-09T21:34:24Z</dc:date>
    </item>
  </channel>
</rss>

