<?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 Multiple Polygons One ObjectID Programmatically? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-polygons-one-objectid-programmatically/m-p/1224412#M79084</link>
    <description>&lt;P&gt;Long story short, my application is designed to store polygon geometry when uploaded from a shapefile.zip.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Every time a new polygon is uploaded, a new record is added in the Attributes Table for the layer.&amp;nbsp; Ideally, all of these geometries would exist within the row of data that exists at the current OBJECTID being viewed.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let edits = {
            geometry: response.data.featureCollection.layers[0].featureSet.features[0].geometry,
            attributes: {
              recordId: `${recordId}`,
            },
          };

          Layer.applyEdits({
            addFeatures: [edits],
          });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously, it's going to create a new entry using the "addFeatures" within applyEdits but if I were to use "updateFeatures" and pass in the OBJECTID, would that overwrite the geometries that exist currently?&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp; Esri ArcGIS newbie here.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2022 21:49:38 GMT</pubDate>
    <dc:creator>DaltonR121</dc:creator>
    <dc:date>2022-10-21T21:49:38Z</dc:date>
    <item>
      <title>Multiple Polygons One ObjectID Programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-polygons-one-objectid-programmatically/m-p/1224412#M79084</link>
      <description>&lt;P&gt;Long story short, my application is designed to store polygon geometry when uploaded from a shapefile.zip.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Every time a new polygon is uploaded, a new record is added in the Attributes Table for the layer.&amp;nbsp; Ideally, all of these geometries would exist within the row of data that exists at the current OBJECTID being viewed.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let edits = {
            geometry: response.data.featureCollection.layers[0].featureSet.features[0].geometry,
            attributes: {
              recordId: `${recordId}`,
            },
          };

          Layer.applyEdits({
            addFeatures: [edits],
          });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously, it's going to create a new entry using the "addFeatures" within applyEdits but if I were to use "updateFeatures" and pass in the OBJECTID, would that overwrite the geometries that exist currently?&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp; Esri ArcGIS newbie here.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 21:49:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-polygons-one-objectid-programmatically/m-p/1224412#M79084</guid>
      <dc:creator>DaltonR121</dc:creator>
      <dc:date>2022-10-21T21:49:38Z</dc:date>
    </item>
  </channel>
</rss>

