<?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 Sweet Arcade Calculated Values and Domains in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/sweet-arcade-calculated-values-and-domains/m-p/1380441#M1340</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating an application in sweet with attribute values and domains. I have a field "field2" that is auto-calculated based on another field "field1" using a script. The problem I have is that defining a calculation based on a script renders field2 read-only. The relationship from field1 to field2 is not one-to-one in every case and there may be multiple options for field2 based on field1 so it is not always populated. Where this is the case I need to be able to leave it blank and allow selection from a drop down list. I have a domain set up for field2 and have the allowed domain values and field correction set up to reduce the overall domain to just ones match the one-to-many results from field1.&lt;/P&gt;&lt;P&gt;the domain and field correction works if i don't have a calculation on, but with the calculation included, where the result is not calculated (due to no one-to-one) then it is left blank and read only so i cant select.&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2024 17:01:15 GMT</pubDate>
    <dc:creator>ChristopherDawe</dc:creator>
    <dc:date>2024-02-09T17:01:15Z</dc:date>
    <item>
      <title>Sweet Arcade Calculated Values and Domains</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/sweet-arcade-calculated-values-and-domains/m-p/1380441#M1340</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating an application in sweet with attribute values and domains. I have a field "field2" that is auto-calculated based on another field "field1" using a script. The problem I have is that defining a calculation based on a script renders field2 read-only. The relationship from field1 to field2 is not one-to-one in every case and there may be multiple options for field2 based on field1 so it is not always populated. Where this is the case I need to be able to leave it blank and allow selection from a drop down list. I have a domain set up for field2 and have the allowed domain values and field correction set up to reduce the overall domain to just ones match the one-to-many results from field1.&lt;/P&gt;&lt;P&gt;the domain and field correction works if i don't have a calculation on, but with the calculation included, where the result is not calculated (due to no one-to-one) then it is left blank and read only so i cant select.&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 17:01:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/sweet-arcade-calculated-values-and-domains/m-p/1380441#M1340</guid>
      <dc:creator>ChristopherDawe</dc:creator>
      <dc:date>2024-02-09T17:01:15Z</dc:date>
    </item>
  </channel>
</rss>

