<?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 How to evaluate arcade expressions in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437858#M2960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to implement arcade expressions using the latest version of the quartz sdk for Android.&amp;nbsp; I am not having any success.&amp;nbsp; First off I want to confirm that this is supported in the Android runtime sdk at this time?&amp;nbsp; &lt;A href="https://developers.arcgis.com/arcade/guide/version-matrix/"&gt;References in the Arcade matrix&lt;/A&gt;&amp;nbsp;only mention "ArcGIS Runtime" not all the runtimes individually.&amp;nbsp; I see no mention of arcade specifically in the Android documentation API or sample code, whereas in the ios SDK resources I at least see some mention of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like it is, or should be supported as the Collector beta for Android does evaluate arcade expressions as expected. However, after digging into this a bit I am starting to think they are doing something outside of the SDK directly.&amp;nbsp; Is this the case or am I not seeing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info, resources or sample code would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2020 17:03:43 GMT</pubDate>
    <dc:creator>ForrestKaye</dc:creator>
    <dc:date>2020-03-31T17:03:43Z</dc:date>
    <item>
      <title>How to evaluate arcade expressions</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437858#M2960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to implement arcade expressions using the latest version of the quartz sdk for Android.&amp;nbsp; I am not having any success.&amp;nbsp; First off I want to confirm that this is supported in the Android runtime sdk at this time?&amp;nbsp; &lt;A href="https://developers.arcgis.com/arcade/guide/version-matrix/"&gt;References in the Arcade matrix&lt;/A&gt;&amp;nbsp;only mention "ArcGIS Runtime" not all the runtimes individually.&amp;nbsp; I see no mention of arcade specifically in the Android documentation API or sample code, whereas in the ios SDK resources I at least see some mention of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like it is, or should be supported as the Collector beta for Android does evaluate arcade expressions as expected. However, after digging into this a bit I am starting to think they are doing something outside of the SDK directly.&amp;nbsp; Is this the case or am I not seeing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info, resources or sample code would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437858#M2960</guid>
      <dc:creator>ForrestKaye</dc:creator>
      <dc:date>2020-03-31T17:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to evaluate arcade expressions</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437859#M2961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forrest - let me know if my email reply helped. If so, I'll then summarize here. Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 17:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437859#M2961</guid>
      <dc:creator>MikeWilburn</dc:creator>
      <dc:date>2020-04-02T17:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to evaluate arcade expressions</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437860#M2962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it helped. After having the confidence of knowing that it should work I went back through my implementation and I realized I was creating the popup from a Feature of a FeatureSet which seems to have been the problem.&amp;nbsp; When I create the popup in other ways I can see all the PopFields expected as well as ArcadeExpression values properly evaluated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took awhile to figure this one out.&amp;nbsp; It was difficult to follow the api documentation and I didn't find much in the way of code samples for callouts or Popups in the Android sdk page.&amp;nbsp; I found myself going to the iOS page for some better samples to get me started.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance in the api documenation for PopupManager all it says is -- "&lt;SPAN style="color: #474747; background-color: #ffffff;"&gt;Manages the viewing and editing of a Popup."&amp;nbsp; Which seems very misleading as I took it to mean this class will have some sort of .show() method to display a template popup.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//This was not giving me the webmap version of the popup when the feature was derived from a FeatureSet, Which the documenation states but took me awhile to realize.&lt;/SPAN&gt;
Popup popup &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Popup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;//By using the same feature derived from a Feature set and also passing in the featureLayer PopupDefinition It created my expected Webmap popup with Arcade Expressions.  &lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;//This sort of made sense to pass in this paramater in my current business logic &lt;/SPAN&gt;
Popup popup &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Popup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;featureLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getPopupDefinition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #474747; background-color: #ffffff;"&gt;At any rate just food for though for other developers or ESRI who might end up here.&amp;nbsp; Thanks for the reply Michael.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #474747; background-color: #ffffff;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:36:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-evaluate-arcade-expressions/m-p/437860#M2962</guid>
      <dc:creator>ForrestKaye</dc:creator>
      <dc:date>2021-12-11T19:36:16Z</dc:date>
    </item>
  </channel>
</rss>

