<?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 Result dictionary in calculation rule not working in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/result-dictionary-in-calculation-rule-not-working/m-p/1182612#M441</link>
    <description>&lt;P&gt;I have a calculation rule and like to write back a new geometry and an attribute. I wrote this very simple calculation for testing:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return   {
    'result': {   
        'attributes':  {'BEMERKUNG':"Test"},
        'geometry': Rotate($feature,90)
    }
}&lt;/LI-CODE&gt;&lt;P&gt;And I use this in a validation service on our Enterprise Portal. The feature class is hold in an Enterprise Geodatabase and is versioned as branch.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoggo_0-1655197751488.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43403iAD2E5E0381145239/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoggo_0-1655197751488.png" alt="Zoggo_0-1655197751488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I run "Evaluate Rules" I get the following Error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoggo_1-1655197812562.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43404iD8E8905CA5823EF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoggo_1-1655197812562.png" alt="Zoggo_1-1655197812562.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't see what I'm doing wrong.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 09:11:56 GMT</pubDate>
    <dc:creator>Zoggo</dc:creator>
    <dc:date>2022-06-14T09:11:56Z</dc:date>
    <item>
      <title>Result dictionary in calculation rule not working</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/result-dictionary-in-calculation-rule-not-working/m-p/1182612#M441</link>
      <description>&lt;P&gt;I have a calculation rule and like to write back a new geometry and an attribute. I wrote this very simple calculation for testing:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return   {
    'result': {   
        'attributes':  {'BEMERKUNG':"Test"},
        'geometry': Rotate($feature,90)
    }
}&lt;/LI-CODE&gt;&lt;P&gt;And I use this in a validation service on our Enterprise Portal. The feature class is hold in an Enterprise Geodatabase and is versioned as branch.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoggo_0-1655197751488.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43403iAD2E5E0381145239/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoggo_0-1655197751488.png" alt="Zoggo_0-1655197751488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I run "Evaluate Rules" I get the following Error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoggo_1-1655197812562.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43404iD8E8905CA5823EF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoggo_1-1655197812562.png" alt="Zoggo_1-1655197812562.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't see what I'm doing wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 09:11:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/result-dictionary-in-calculation-rule-not-working/m-p/1182612#M441</guid>
      <dc:creator>Zoggo</dc:creator>
      <dc:date>2022-06-14T09:11:56Z</dc:date>
    </item>
  </channel>
</rss>

