<?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 Error while editing published feature layer with calculation attribute rule in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/error-while-editing-published-feature-layer-with/m-p/1294891#M963</link>
    <description>&lt;P&gt;I am trying to edit a&amp;nbsp; published feature layer with a calculation attribute rule using the shape length but I get an error as below, I tried several different settings but same error.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 09:12:38 GMT</pubDate>
    <dc:creator>MohammedElsayed</dc:creator>
    <dc:date>2023-06-01T09:12:38Z</dc:date>
    <item>
      <title>Error while editing published feature layer with calculation attribute rule</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/error-while-editing-published-feature-layer-with/m-p/1294891#M963</link>
      <description>&lt;P&gt;I am trying to edit a&amp;nbsp; published feature layer with a calculation attribute rule using the shape length but I get an error as below, I tried several different settings but same error.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 09:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/error-while-editing-published-feature-layer-with/m-p/1294891#M963</guid>
      <dc:creator>MohammedElsayed</dc:creator>
      <dc:date>2023-06-01T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error while editing published feature layer with calculation attribute rule</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/error-while-editing-published-feature-layer-with/m-p/1294913#M964</link>
      <description>&lt;P&gt;This happened to me as well, but with registered feature services.&amp;nbsp; The attribute rules had already been working previously.&amp;nbsp; Working with ESRI, we had to change the expression so that it didn't directly reference the Shape.STArea() field because it changes to Shape__Area when it is published.&amp;nbsp; This started happening after applying the&amp;nbsp;Portal for ArcGIS Security Update 2023.&amp;nbsp; So for instance, the rule went from "Round($feature['Shape.STArea()']/9, 2)"&amp;nbsp; to now "Round(Area($feature,'acres'), 2)".&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 11:46:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/error-while-editing-published-feature-layer-with/m-p/1294913#M964</guid>
      <dc:creator>JLau</dc:creator>
      <dc:date>2023-06-01T11:46:08Z</dc:date>
    </item>
  </channel>
</rss>

