<?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: How to POST update to a feature where it has a unique attribute instead of ObjectId? in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1522865#M4816</link>
    <description>&lt;P&gt;You could use &lt;STRONG&gt;Calculate&lt;/STRONG&gt; instead.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/calculate-feature-service-layer/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/calculate-feature-service-layer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You'd have to format the post differently, but it can update any and all fields on the layer, and includes a &lt;EM&gt;where&lt;/EM&gt; parameter. You could use it to update individual features, with "where=unique_field='some_value'" to restrict the calculation.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 13:44:18 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2024-08-16T13:44:18Z</dc:date>
    <item>
      <title>How to POST update to a feature where it has a unique attribute instead of ObjectId?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1522843#M4815</link>
      <description>&lt;P&gt;Is it possible to use a where clause in an&amp;nbsp;ArcGIS REST API POST to update attributes of a feature where a custom field as a unique value?&lt;/P&gt;&lt;P&gt;I have a field with unique values in it which I would like to use to identify which feature to update, rather than using ObjectId. The reason I don't want to use ObjectID is because that would require a preceding GET query to obtain the&amp;nbsp;ObjectId, and that will slow down the overall processing, and will double the number of callouts consumed from my system's limit.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 13:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1522843#M4815</guid>
      <dc:creator>RichT7301</dc:creator>
      <dc:date>2024-08-16T13:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to POST update to a feature where it has a unique attribute instead of ObjectId?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1522865#M4816</link>
      <description>&lt;P&gt;You could use &lt;STRONG&gt;Calculate&lt;/STRONG&gt; instead.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/calculate-feature-service-layer/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/calculate-feature-service-layer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You'd have to format the post differently, but it can update any and all fields on the layer, and includes a &lt;EM&gt;where&lt;/EM&gt; parameter. You could use it to update individual features, with "where=unique_field='some_value'" to restrict the calculation.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 13:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1522865#M4816</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-16T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to POST update to a feature where it has a unique attribute instead of ObjectId?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1523043#M4817</link>
      <description>&lt;P&gt;Interesting. Thank you Josh. I'll give that a try.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 18:31:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-post-update-to-a-feature-where-it-has-a/m-p/1523043#M4817</guid>
      <dc:creator>RichT7301</dc:creator>
      <dc:date>2024-08-16T18:31:22Z</dc:date>
    </item>
  </channel>
</rss>

