<?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: Feature Effect and Labeling issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1361319#M83135</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It was my fault. The problem was in the "&lt;/SPAN&gt;&lt;SPAN&gt;excludedLabelsVisible"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;property, it has to be &lt;STRONG&gt;true&lt;/STRONG&gt; for enable labels of excluded entities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;this.pointsLayer.featureEffect = new FeatureEffect({
  filter: new FeatureFilter({
    objectIds: [
      hit.graphic.attributes[
        constants.arcgis.layers.backhauls.fields.objectid
      ]
    ]
  }),
  excludedEffect: 'opacity(90%)',
  includedEffect: 'bloom(0.6 0.1pt 0) contrast(130%)',
  excludedLabelsVisible: true
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/476297"&gt;@LuisAntonioRodriguezGonzalez&lt;/a&gt;&amp;nbsp;In your example, the value is set to false.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2023 07:40:47 GMT</pubDate>
    <dc:creator>GasparCascallana</dc:creator>
    <dc:date>2023-12-15T07:40:47Z</dc:date>
    <item>
      <title>Feature Effect and Labeling issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1129839#M75742</link>
      <description>&lt;P&gt;&lt;SPAN&gt;ArcGIS API for JavaScript&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/" target="_blank" rel="noopener"&gt;4.22&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a web app that apply&amp;nbsp;Feature Effect and Labeling on a Feature Layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Firts I apply a&amp;nbsp;Feature Effect:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;layerView.featureEffect = null;
let featureFilter = new FeatureFilter({
where: "Type = '" + document.getElementById("filterText").value + "'"
});
layerView.featureEffect = new FeatureEffect({
filter: featureFilter,
excludedEffect: "grayscale(100%) opacity(30%)",
excludedLabelsVisible: false
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FeatureEffect.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/30576i323C96FF4F12442B/image-size/large?v=v2&amp;amp;px=999" role="button" title="FeatureEffect.png" alt="FeatureEffect.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I clear the&amp;nbsp;&lt;SPAN&gt;Feature Effect:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;layerView.featureEffect = null;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can only see labels on features filtered by the previous&amp;nbsp;Feature Effect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ClearFeatureEffect.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/30577iE9C8E79BD9DB827B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ClearFeatureEffect.png" alt="ClearFeatureEffect.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can I see labels on all features after clear a previous&amp;nbsp;FeatureEffect?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Dec 2021 12:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1129839#M75742</guid>
      <dc:creator>LuisAntonioRodriguezGonzalez</dc:creator>
      <dc:date>2021-12-31T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Effect and Labeling issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1129873#M75744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/476297"&gt;@LuisAntonioRodriguezGonzalez&lt;/a&gt;&amp;nbsp;- this appears to be a bug in 4.22. We'll take a look and get this fixed in an upcoming release! Thanks for letting us know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Dec 2021 17:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1129873#M75744</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-12-31T17:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Effect and Labeling issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1154491#M76678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/476297"&gt;@LuisAntonioRodriguezGonzalez&lt;/a&gt;&amp;nbsp;- this has been fixed and will be available in the 4.23 release. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 20:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1154491#M76678</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-03-16T20:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Effect and Labeling issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1311400#M81767</link>
      <description>&lt;P&gt;Hi! I am using typescript and this assignation is not possible&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;featureLayerView.featureEffect = null&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp;&lt;SPAN&gt;Type 'null' is not assignable to type 'FeatureEffect'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've also tried, but not working:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; featureLayerView.featureEffect.destroy()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 08:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1311400#M81767</guid>
      <dc:creator>LuisSolaRuiz</dc:creator>
      <dc:date>2023-07-25T08:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Effect and Labeling issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1360971#M83124</link>
      <description>&lt;P&gt;Hi!, I´m also using typescript and the bug persists.&lt;/P&gt;&lt;P&gt;Null asignation is not posible. I tried asign to an empty FeatureEffect class but dont works.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;featureLayerView.featureEffect = null
featureLayerView.featureEffect.destroy()
featureLayerView.featureEffect = new FeatureEffect()

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 17:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1360971#M83124</guid>
      <dc:creator>GasparCascallana</dc:creator>
      <dc:date>2023-12-14T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Effect and Labeling issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1361319#M83135</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It was my fault. The problem was in the "&lt;/SPAN&gt;&lt;SPAN&gt;excludedLabelsVisible"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;property, it has to be &lt;STRONG&gt;true&lt;/STRONG&gt; for enable labels of excluded entities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;this.pointsLayer.featureEffect = new FeatureEffect({
  filter: new FeatureFilter({
    objectIds: [
      hit.graphic.attributes[
        constants.arcgis.layers.backhauls.fields.objectid
      ]
    ]
  }),
  excludedEffect: 'opacity(90%)',
  includedEffect: 'bloom(0.6 0.1pt 0) contrast(130%)',
  excludedLabelsVisible: true
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/476297"&gt;@LuisAntonioRodriguezGonzalez&lt;/a&gt;&amp;nbsp;In your example, the value is set to false.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 07:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-effect-and-labeling-issue/m-p/1361319#M83135</guid>
      <dc:creator>GasparCascallana</dc:creator>
      <dc:date>2023-12-15T07:40:47Z</dc:date>
    </item>
  </channel>
</rss>

