<?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 ArcGIS API 4.x Create/Edit/Update Multipart Polygons in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-x-create-edit-update-multipart/m-p/1119965#M75395</link>
    <description>&lt;P&gt;Is there a way to configure the Editor widget to create/edit multipart polygons? I have a feature service loaded on my map in which I can create/edit my polygon features and attributes. Everything works correctly. I was just wondering if it is possible to extend my application to allow for multipart polygons. Let me know if anyone has any ideas. I understand this is possible using Smart Editor in web app builder, but I am creating more of a stand alone 1 page JavaScript application.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 16:24:18 GMT</pubDate>
    <dc:creator>RobbCampbell</dc:creator>
    <dc:date>2021-11-24T16:24:18Z</dc:date>
    <item>
      <title>ArcGIS API 4.x Create/Edit/Update Multipart Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-x-create-edit-update-multipart/m-p/1119965#M75395</link>
      <description>&lt;P&gt;Is there a way to configure the Editor widget to create/edit multipart polygons? I have a feature service loaded on my map in which I can create/edit my polygon features and attributes. Everything works correctly. I was just wondering if it is possible to extend my application to allow for multipart polygons. Let me know if anyone has any ideas. I understand this is possible using Smart Editor in web app builder, but I am creating more of a stand alone 1 page JavaScript application.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 16:24:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-x-create-edit-update-multipart/m-p/1119965#M75395</guid>
      <dc:creator>RobbCampbell</dc:creator>
      <dc:date>2021-11-24T16:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API 4.x Create/Edit/Update Multipart Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-x-create-edit-update-multipart/m-p/1121434#M75444</link>
      <description>&lt;P&gt;In case anyone read this and was interested... I figured it out.&lt;/P&gt;&lt;P&gt;Make a sketchViewModel for polygons with a separate graphicsLayer&amp;nbsp;&lt;/P&gt;&lt;P&gt;On completion of drawing polygon append rings to an array. Keep drawing.&lt;/P&gt;&lt;P&gt;Once you're done drawing, use a button to call a function to create new polygon and add the rings from your array.&lt;/P&gt;&lt;P&gt;Create a graphic from the polygon and add to your features service via applyEdits()&lt;/P&gt;&lt;P&gt;Edit your new polygon with Editor as you would normally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 20:38:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-x-create-edit-update-multipart/m-p/1121434#M75444</guid>
      <dc:creator>RobbCampbell</dc:creator>
      <dc:date>2021-11-30T20:38:39Z</dc:date>
    </item>
  </channel>
</rss>

