<?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: Smart Editor Widget - Summing two fields to display result in another field in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710261#M18640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/417696"&gt;Praneet Castelino&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I'm not sure what your complete workflow is, but I'd like to add to Rickey's comment above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also an option to set up an Arcade expression to generate the sum for these fields. Here is a blog on this topic:&amp;nbsp;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/create-custom-field-calculations-using-arcade-expressions/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/create-custom-field-calculations-using-arcade-expressions/"&gt;Create Custom Field Calculations Using Arcade Expressions&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example:&lt;/P&gt;&lt;P&gt;1. Calculate the field:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503482" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/503482_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;2. Get results:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503481" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503481_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT, when using the field calculation from the layer's Data tab, values are calculated and written into the field but won't be generated on the fly as new features are added.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503487" class="image-3 jive-image" height="172" src="https://community.esri.com/legacyfs/online/503487_pastedImage_4.png" width="461" /&gt;&lt;/P&gt;&lt;P&gt;You will need to trigger the field calculation again to update the values. You can find a way to automate this process. Maybe there is a way to automate something like this with ArcGIS Notebooks?&amp;nbsp;&lt;A href="https://community.esri.com/space/2286"&gt;ArcGIS Notebooks&lt;/A&gt;&amp;nbsp; -- this needs more investigating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need these values generated on the fly as new features are created, you can also create an arcade expression in the layer pop-up in the web map.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503488" class="jive-image image-4" height="700" src="https://community.esri.com/legacyfs/online/503488_pastedImage_5.png" width="469" /&gt;&lt;/P&gt;&lt;P&gt;The downside of this option is that the values are not "written into" the target field and will only be reflected in the pop-up in this web map.&lt;/P&gt;&lt;P&gt;So depending on if you are working in ArcGIS or Portal, and if you need these values hardcoded into your field, you can explore these options.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2020 16:13:45 GMT</pubDate>
    <dc:creator>AlixVezina</dc:creator>
    <dc:date>2020-08-14T16:13:45Z</dc:date>
    <item>
      <title>Smart Editor Widget - Summing two fields to display result in another field</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710259#M18638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to set up smart editor to sum the value of two fields and display it in another field?&lt;/P&gt;&lt;P&gt;For example I want to add the field 1B and 2B, with the result of that appearing in "Potential Yield Total"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/503436_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this can be done, if it requires custom coding do let me know the best way I could get started to explore more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 06:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710259#M18638</guid>
      <dc:creator>PraneetCastelino</dc:creator>
      <dc:date>2020-08-14T06:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Editor Widget - Summing two fields to display result in another field</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710260#M18639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/417696"&gt;Praneet Castelino&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be possible without coding using &lt;A href="https://community.esri.com/space/2291"&gt;Attribute Rules&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm"&gt;Introduction to attribute rules—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it is also possible with some coding if you are using WAB developer edition.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710260#M18639</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2020-08-14T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Editor Widget - Summing two fields to display result in another field</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710261#M18640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/417696"&gt;Praneet Castelino&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I'm not sure what your complete workflow is, but I'd like to add to Rickey's comment above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also an option to set up an Arcade expression to generate the sum for these fields. Here is a blog on this topic:&amp;nbsp;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/create-custom-field-calculations-using-arcade-expressions/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/create-custom-field-calculations-using-arcade-expressions/"&gt;Create Custom Field Calculations Using Arcade Expressions&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example:&lt;/P&gt;&lt;P&gt;1. Calculate the field:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503482" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/503482_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;2. Get results:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503481" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503481_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT, when using the field calculation from the layer's Data tab, values are calculated and written into the field but won't be generated on the fly as new features are added.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503487" class="image-3 jive-image" height="172" src="https://community.esri.com/legacyfs/online/503487_pastedImage_4.png" width="461" /&gt;&lt;/P&gt;&lt;P&gt;You will need to trigger the field calculation again to update the values. You can find a way to automate this process. Maybe there is a way to automate something like this with ArcGIS Notebooks?&amp;nbsp;&lt;A href="https://community.esri.com/space/2286"&gt;ArcGIS Notebooks&lt;/A&gt;&amp;nbsp; -- this needs more investigating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need these values generated on the fly as new features are created, you can also create an arcade expression in the layer pop-up in the web map.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503488" class="jive-image image-4" height="700" src="https://community.esri.com/legacyfs/online/503488_pastedImage_5.png" width="469" /&gt;&lt;/P&gt;&lt;P&gt;The downside of this option is that the values are not "written into" the target field and will only be reflected in the pop-up in this web map.&lt;/P&gt;&lt;P&gt;So depending on if you are working in ArcGIS or Portal, and if you need these values hardcoded into your field, you can explore these options.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 16:13:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710261#M18640</guid>
      <dc:creator>AlixVezina</dc:creator>
      <dc:date>2020-08-14T16:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Editor Widget - Summing two fields to display result in another field</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710262#M18641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rickey, this has pointed me to the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2020 03:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710262#M18641</guid>
      <dc:creator>PraneetCastelino</dc:creator>
      <dc:date>2020-08-15T03:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Editor Widget - Summing two fields to display result in another field</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710263#M18642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Alix, this is quite interesting and I am learning a lot.&lt;/P&gt;&lt;P&gt;I will definitely be doing more research on this. I am quite new to the whole ArcGIS ecosystem and trying to get my head around things as I work through a project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2020 03:54:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/smart-editor-widget-summing-two-fields-to-display/m-p/710263#M18642</guid>
      <dc:creator>PraneetCastelino</dc:creator>
      <dc:date>2020-08-15T03:54:55Z</dc:date>
    </item>
  </channel>
</rss>

