<?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: Feature Update ApplyEdits via GlobalID? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761646#M70586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be released towards end of next week. You will see announcement here on geonet when it becomes public. In meantime, you can test this functionality using &lt;A href="https://github.com/Esri/feedback-js-api-next/blob/master/CHANGELOG.md"&gt;our next&lt;/A&gt; version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at&lt;A href="https://codepen.io/U_B_U/pen/YzXBdEe?editors=1000"&gt; this test app&lt;/A&gt;&amp;nbsp;to see how globalIds are used with FeatureLayer.applyEdits. It is not the most intuitive app but will get the concept across.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add a new features, click on the `Add Feature` button, then click on the map, change the severity value and provide a globalId for your new feature and finally click on the `Apply Edits` button.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update an existing feature, click on a feature on the map, then change the severity value, click on the update feature button and finally click on the Apply Edits button.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to point out that globalIds are supported for update and add operations for applyEdits. For delete operations you must use the objectIds. This will become available at 4.16.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2020 22:37:03 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2020-03-30T22:37:03Z</dc:date>
    <item>
      <title>Feature Update ApplyEdits via GlobalID?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761643#M70583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Due to a bug in Dashboard I need to be able to do updates to attributes without an objectid.&amp;nbsp; So I changed my services to be "&lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Supports ApplyEdits With Global Ids:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;true" but every time I try and do an applyEdits update of a feature with the globalid the error I am getting is "ObjectId field is missing."?????&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have a suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code below would work with Objectid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var gUPDATE = {attributes: {GlobalID: "{A40352E3-0C1E-4A65-AAE7-106B4D79F131}", STATUS: "Pending"}}; &lt;BR /&gt; featureLayer.applyEdits(null, [&lt;SPAN&gt;g&lt;/SPAN&gt;&lt;SPAN&gt;UPDATE&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;], null, function (response) {&lt;BR /&gt; console.log("done");&lt;BR /&gt; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 14:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761643#M70583</guid>
      <dc:creator>PaulVepraskas</dc:creator>
      <dc:date>2020-03-30T14:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Update ApplyEdits via GlobalID?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761644#M70584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like you are using 3.x API to edit features using globalIds. 3.x FeatureLayer.applyEdits does not support globalIds. This functionality will be supported at 4.15.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761644#M70584</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-03-30T17:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Update ApplyEdits via GlobalID?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761645#M70585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;K so any idea when 4.15 will be released?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 18:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761645#M70585</guid>
      <dc:creator>PaulVepraskas</dc:creator>
      <dc:date>2020-03-30T18:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Update ApplyEdits via GlobalID?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761646#M70586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be released towards end of next week. You will see announcement here on geonet when it becomes public. In meantime, you can test this functionality using &lt;A href="https://github.com/Esri/feedback-js-api-next/blob/master/CHANGELOG.md"&gt;our next&lt;/A&gt; version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at&lt;A href="https://codepen.io/U_B_U/pen/YzXBdEe?editors=1000"&gt; this test app&lt;/A&gt;&amp;nbsp;to see how globalIds are used with FeatureLayer.applyEdits. It is not the most intuitive app but will get the concept across.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add a new features, click on the `Add Feature` button, then click on the map, change the severity value and provide a globalId for your new feature and finally click on the `Apply Edits` button.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update an existing feature, click on a feature on the map, then change the severity value, click on the update feature button and finally click on the Apply Edits button.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to point out that globalIds are supported for update and add operations for applyEdits. For delete operations you must use the objectIds. This will become available at 4.16.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 22:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-update-applyedits-via-globalid/m-p/761646#M70586</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-03-30T22:37:03Z</dc:date>
    </item>
  </channel>
</rss>

