<?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: Grabbing FeatureFilter as ES Module not handing me the constructor in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052348#M72789</link>
    <description>&lt;P&gt;Do you have a sample project to repro this with? I tried locally and not seeing this issue. I checked against the CDN as well and that works too.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/bGgJPRz?editors=0010" target="_blank"&gt;https://codepen.io/odoe/pen/bGgJPRz?editors=0010&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 16:16:02 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2021-04-28T16:16:02Z</dc:date>
    <item>
      <title>Grabbing FeatureFilter as ES Module not handing me the constructor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052339#M72787</link>
      <description>&lt;P&gt;I'm migrating over to the es modules approach since it's much cleaner than the loader. However I've run into an issue with FeatureFilter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;FeatureFilter&lt;/SPAN&gt; &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;'@arcgis/core/views/layers/support/FeatureFilter'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;layerViews&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'Parks'&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;FeatureFilter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;results in a console error telling me that FeatureFilter is not a constructor. If I check FeatureFilter at the global level, it's undefined. What should I be importing?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Apr 2021 16:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052339#M72787</guid>
      <dc:creator>matt_ander</dc:creator>
      <dc:date>2021-04-28T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grabbing FeatureFilter as ES Module not handing me the constructor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052348#M72789</link>
      <description>&lt;P&gt;Do you have a sample project to repro this with? I tried locally and not seeing this issue. I checked against the CDN as well and that works too.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/bGgJPRz?editors=0010" target="_blank"&gt;https://codepen.io/odoe/pen/bGgJPRz?editors=0010&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 16:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052348#M72789</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-04-28T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Grabbing FeatureFilter as ES Module not handing me the constructor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052368#M72791</link>
      <description>&lt;P&gt;Okay thanks. I can't share the code unfortunately so I'll dig a bit deeper. Must be something on my end.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 16:36:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052368#M72791</guid>
      <dc:creator>matt_ander</dc:creator>
      <dc:date>2021-04-28T16:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Grabbing FeatureFilter as ES Module not handing me the constructor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052389#M72792</link>
      <description>&lt;P&gt;For anyone else encountering this, I had to specify the '.js' file extension for it to work. Not sure why.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 16:59:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/grabbing-featurefilter-as-es-module-not-handing-me/m-p/1052389#M72792</guid>
      <dc:creator>matt_ander</dc:creator>
      <dc:date>2021-04-28T16:59:45Z</dc:date>
    </item>
  </channel>
</rss>

