<?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: Editor widget doesnt work with GeoJSONLayer in 4.22, does in 4.21 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144174#M76365</link>
    <description>&lt;P&gt;ahh thank you so much Undral, totally missed that in the documentation!&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any idea why Typescript is complaining about layer not being of type Feature Layer? Is this expected behavior&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZachPorteous_1-1644945451043.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33964i2C6239249FDB8F22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZachPorteous_1-1644945451043.png" alt="ZachPorteous_1-1644945451043.png" /&gt;&lt;/span&gt;&lt;/P&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="ZachPorteous_0-1644945399359.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33963i5A1F9F836FB11C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZachPorteous_0-1644945399359.png" alt="ZachPorteous_0-1644945399359.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 17:18:30 GMT</pubDate>
    <dc:creator>ZachPorteous</dc:creator>
    <dc:date>2022-02-15T17:18:30Z</dc:date>
    <item>
      <title>Editor widget doesnt work with GeoJSONLayer in 4.22, does in 4.21</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1143921#M76346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm not able to get the Editor widget to work with a GeoJSONLayer in the 4.22 version, but in the 4.21 version with the same code, it works. I don't believe the configuration has changed at all, which is why I'm confused. The first screenshot is Editor widget working correctly in 4.21, the second is the same code in 4.22. Im swapping out the versions in the script tag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZachPorteous_0-1644892486307.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33910i7F642A6FB288607D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZachPorteous_0-1644892486307.png" alt="ZachPorteous_0-1644892486307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZachPorteous_1-1644892596134.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33912i82FA221131980D01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZachPorteous_1-1644892596134.png" alt="ZachPorteous_1-1644892596134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Im also getting a typescript error when building with ES modules in the same situation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZachPorteous_2-1644892682802.png" style="width: 778px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33913i0B09BCF5A7447FD6/image-dimensions/778x103?v=v2" width="778" height="103" role="button" title="ZachPorteous_2-1644892682802.png" alt="ZachPorteous_2-1644892682802.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is someone able to check if this is happening to them?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 02:40:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1143921#M76346</guid>
      <dc:creator>ZachPorteous</dc:creator>
      <dc:date>2022-02-15T02:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget doesnt work with GeoJSONLayer in 4.22, does in 4.21</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144130#M76364</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;At 4.22, we added &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html#editingEnabled" target="_self"&gt;GeoJSONLayer.editingEnabled&lt;/A&gt; property on GeoJSONLayer and by default it is set to false. &amp;nbsp;GeoJSONLayer did not editingEnabled property in previous versions of 4.21 and editing was allowed without this check. Please set the editingEnabled to true in your GeoJSONLayer constructor and it should solve the problem you are running into.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 16:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144130#M76364</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-02-15T16:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget doesnt work with GeoJSONLayer in 4.22, does in 4.21</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144174#M76365</link>
      <description>&lt;P&gt;ahh thank you so much Undral, totally missed that in the documentation!&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any idea why Typescript is complaining about layer not being of type Feature Layer? Is this expected behavior&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZachPorteous_1-1644945451043.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33964i2C6239249FDB8F22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZachPorteous_1-1644945451043.png" alt="ZachPorteous_1-1644945451043.png" /&gt;&lt;/span&gt;&lt;/P&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="ZachPorteous_0-1644945399359.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33963i5A1F9F836FB11C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZachPorteous_0-1644945399359.png" alt="ZachPorteous_0-1644945399359.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 17:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144174#M76365</guid>
      <dc:creator>ZachPorteous</dc:creator>
      <dc:date>2022-02-15T17:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget doesnt work with GeoJSONLayer in 4.22, does in 4.21</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144182#M76366</link>
      <description>&lt;P&gt;ah I found&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/editor-widget-and-typescript-can-layerinfo-accept/m-p/1004354#M70898" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-javascript-questions/editor-widget-and-typescript-can-layerinfo-accept/m-p/1004354#M70898&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which explains that teh docs say that in typescript this is not possible and you must cast geoJSON layer to Featur Layer, ive done that and it works but field configs object does not work. thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 17:44:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-doesnt-work-with-geojsonlayer-in-4/m-p/1144182#M76366</guid>
      <dc:creator>ZachPorteous</dc:creator>
      <dc:date>2022-02-15T17:44:07Z</dc:date>
    </item>
  </channel>
</rss>

