<?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: Dashboard arcade data expression works when testing but does not save in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251285#M7247</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Attached is code snippet. FYI, removed portal ID and other ID information within first few lines. Also would mention that I developed this code in a separate portal environment from the client (11 --&amp;gt;10.9.1) for testing than copy/pasted/updated code to work within the older environment. I was also just told that some of the feature services are stored in the same GDB where services are branched versioned. I don't have access/much information right now about the branched part but can get more info about structure if you think this could be a problem.&lt;/P&gt;&lt;P&gt;Quick synopsis:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Taking in three (3) different natural asset features, filter/grouping them by inspection year&lt;/LI&gt;&lt;LI&gt;Create list for unique project numbers&lt;/LI&gt;&lt;LI&gt;Asset specific functions for getting latest date of project name/ID, calculating some scores from survey, etc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The dashboard contains 4 indicator widgets for scoring. A single widget for each specific asset , and then an overall scoring to incorporate all scores together.&amp;nbsp; The three individual widgets work/saves just fine, but when combining them for the overall is where the widget would not save.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 14:36:20 GMT</pubDate>
    <dc:creator>HarrisonBloom1</dc:creator>
    <dc:date>2023-01-25T14:36:20Z</dc:date>
    <item>
      <title>Dashboard arcade data expression works when testing but does not save</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251248#M7242</link>
      <description>&lt;P&gt;I have created a data expression within an indicator widget of a ArcGIS Dashboard and runs perfectly fine when testing but once I go to click "done" or save the expression, the page will default back to the "Select a layer" page of the dashboard and a caution icon appears next to the created data expression?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the cause of this or a workaround? When testing the data expression in the "Edit data expression" window, it returns the desired results, with no errors, but again won't let me save or apply the expression to a widget.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="exp_snap.JPG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61174i0A386BB50B8540C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="exp_snap.JPG" alt="exp_snap.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 13:50:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251248#M7242</guid>
      <dc:creator>HarrisonBloom1</dc:creator>
      <dc:date>2023-01-25T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard arcade data expression works when testing but does not save</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251256#M7244</link>
      <description>&lt;P&gt;That has happened to me in the past, though not always for obvious reasons. It could be as simple as your data expression not returning a FeatureSet object, or it could be more complicated, or something weird in the data layer itself.&lt;/P&gt;&lt;P&gt;Can you share the expression? That would be helpful in spotting what might be wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 14:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251256#M7244</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-01-25T14:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard arcade data expression works when testing but does not save</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251285#M7247</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Attached is code snippet. FYI, removed portal ID and other ID information within first few lines. Also would mention that I developed this code in a separate portal environment from the client (11 --&amp;gt;10.9.1) for testing than copy/pasted/updated code to work within the older environment. I was also just told that some of the feature services are stored in the same GDB where services are branched versioned. I don't have access/much information right now about the branched part but can get more info about structure if you think this could be a problem.&lt;/P&gt;&lt;P&gt;Quick synopsis:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Taking in three (3) different natural asset features, filter/grouping them by inspection year&lt;/LI&gt;&lt;LI&gt;Create list for unique project numbers&lt;/LI&gt;&lt;LI&gt;Asset specific functions for getting latest date of project name/ID, calculating some scores from survey, etc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The dashboard contains 4 indicator widgets for scoring. A single widget for each specific asset , and then an overall scoring to incorporate all scores together.&amp;nbsp; The three individual widgets work/saves just fine, but when combining them for the overall is where the widget would not save.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 14:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-arcade-data-expression-works-when/m-p/1251285#M7247</guid>
      <dc:creator>HarrisonBloom1</dc:creator>
      <dc:date>2023-01-25T14:36:20Z</dc:date>
    </item>
  </channel>
</rss>

