<?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 Editor fails to launch with &amp;quot;Error: no geometry type&amp;quot; since update to 4.32 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-fails-to-launch-with-quot-error-no-geometry/m-p/1603981#M86852</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm using the Editor widget in my app&lt;SPAN&gt;&amp;nbsp;to modify a feature layer. I'm using editor.startCreateFeaturesWorkflowAtFeatureCreation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Since upgrading to &lt;A href="https://www.npmjs.com/package/@arcgis/core" target="_self"&gt;@arcgis/core&lt;/A&gt; 4.32.9 or 4.32.10, when I attempt to access it, I get this:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;esri.widgets.Editor.EditorViewModel] s&amp;nbsp;{name: 'Error', details: Error: no geometry type&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I roll back to 4.30.5 without changing anything else, everything works fine. I tried 4.31.6 and I'm getting the same "no geometry type" error.&lt;/P&gt;&lt;P&gt;The feature layer's geometryType is "polygon". One oddity is that although there &lt;EM&gt;are&lt;/EM&gt; feature templates stored in the service which I can verify in the &lt;SPAN&gt;ArcGIS REST Services Directory view&lt;/SPAN&gt;, I can't access the templates (i.e., when logged, featureLayer.templates has a length of 0). I'm not sure why that is, or why it didn't cause problems in 4.30. It is a group layer but I'm able to edit other individual feature layers within this group with no problems.&lt;/P&gt;&lt;P&gt;Apologies for not being able to share the code or a link to the layer.&lt;/P&gt;&lt;P&gt;Would appreciate any ideas for what I can look into. My best guess is that it's related to the templates and possibly the &lt;A href="https://developers.arcgis.com/javascript/latest/4.32/#editing-shared-templates" target="_self"&gt;Editing shared templates&lt;/A&gt; update in 4.32, but not sure how to tackle. Anyone seeing anything related?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 21:05:40 GMT</pubDate>
    <dc:creator>MapNat</dc:creator>
    <dc:date>2025-04-08T21:05:40Z</dc:date>
    <item>
      <title>Editor fails to launch with "Error: no geometry type" since update to 4.32</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-fails-to-launch-with-quot-error-no-geometry/m-p/1603981#M86852</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm using the Editor widget in my app&lt;SPAN&gt;&amp;nbsp;to modify a feature layer. I'm using editor.startCreateFeaturesWorkflowAtFeatureCreation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Since upgrading to &lt;A href="https://www.npmjs.com/package/@arcgis/core" target="_self"&gt;@arcgis/core&lt;/A&gt; 4.32.9 or 4.32.10, when I attempt to access it, I get this:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;esri.widgets.Editor.EditorViewModel] s&amp;nbsp;{name: 'Error', details: Error: no geometry type&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I roll back to 4.30.5 without changing anything else, everything works fine. I tried 4.31.6 and I'm getting the same "no geometry type" error.&lt;/P&gt;&lt;P&gt;The feature layer's geometryType is "polygon". One oddity is that although there &lt;EM&gt;are&lt;/EM&gt; feature templates stored in the service which I can verify in the &lt;SPAN&gt;ArcGIS REST Services Directory view&lt;/SPAN&gt;, I can't access the templates (i.e., when logged, featureLayer.templates has a length of 0). I'm not sure why that is, or why it didn't cause problems in 4.30. It is a group layer but I'm able to edit other individual feature layers within this group with no problems.&lt;/P&gt;&lt;P&gt;Apologies for not being able to share the code or a link to the layer.&lt;/P&gt;&lt;P&gt;Would appreciate any ideas for what I can look into. My best guess is that it's related to the templates and possibly the &lt;A href="https://developers.arcgis.com/javascript/latest/4.32/#editing-shared-templates" target="_self"&gt;Editing shared templates&lt;/A&gt; update in 4.32, but not sure how to tackle. Anyone seeing anything related?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 21:05:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-fails-to-launch-with-quot-error-no-geometry/m-p/1603981#M86852</guid>
      <dc:creator>MapNat</dc:creator>
      <dc:date>2025-04-08T21:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editor fails to launch with "Error: no geometry type" since update to 4.32</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-fails-to-launch-with-quot-error-no-geometry/m-p/1609925#M87063</link>
      <description>&lt;P&gt;Dropping my own answer here in case it helps anyone else. I republished the layer with no symbology and it resolved the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-fails-to-launch-with-quot-error-no-geometry/m-p/1609925#M87063</guid>
      <dc:creator>MapNat</dc:creator>
      <dc:date>2025-04-29T13:10:47Z</dc:date>
    </item>
  </channel>
</rss>

