<?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 Arcade expressions appear in AGOL web map popups but cause error in WAB app in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128788#M3712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a popup that includes Arcade Expressions, which appear just fine in the AGOL web map (The Arcade expressions populate the items under Owner Info:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="279" src="https://community.esri.com/legacyfs/online/436728_pastedImage_1.png" width="229" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I add this web map to a WAB Dev Edition application (v2.10), the arcade expressions do not appear. See the Owner Info section in the popup in the image below. There is no console error when this occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when opening the Attribute Table widget, data&amp;nbsp;does not render and the Javascript console does produce an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;js.arcgis.com/3.26/init.js:115 Error: Runtime Error: Function Not Found: FeatureSetByName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436746_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of the arcade expression I'm using, which does call FeatureSetByName (mentioned in the console error)&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="keyword token"&gt;var&lt;/SPAN&gt; ownerTable &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$datastore&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"owner_info"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parcelId &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parcel&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; sql &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"parcel = '"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; parcelId &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"'"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; ownerRecord &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Filter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ownerTable&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sql&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; ownerRecord&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;owner1
&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 07:16:30 GMT</pubDate>
    <dc:creator>BatesRambow2</dc:creator>
    <dc:date>2021-12-11T07:16:30Z</dc:date>
    <item>
      <title>Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128788#M3712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a popup that includes Arcade Expressions, which appear just fine in the AGOL web map (The Arcade expressions populate the items under Owner Info:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="279" src="https://community.esri.com/legacyfs/online/436728_pastedImage_1.png" width="229" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I add this web map to a WAB Dev Edition application (v2.10), the arcade expressions do not appear. See the Owner Info section in the popup in the image below. There is no console error when this occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when opening the Attribute Table widget, data&amp;nbsp;does not render and the Javascript console does produce an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;js.arcgis.com/3.26/init.js:115 Error: Runtime Error: Function Not Found: FeatureSetByName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436746_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of the arcade expression I'm using, which does call FeatureSetByName (mentioned in the console error)&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="keyword token"&gt;var&lt;/SPAN&gt; ownerTable &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$datastore&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"owner_info"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parcelId &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parcel&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; sql &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"parcel = '"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; parcelId &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"'"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; ownerRecord &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Filter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ownerTable&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sql&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; ownerRecord&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;owner1
&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128788#M3712</guid>
      <dc:creator>BatesRambow2</dc:creator>
      <dc:date>2021-12-11T07:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128789#M3713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did notice that pointing the deployed app's API version to 3.27 instead of 3.26 (which is what WAB 2.10 points to) seems to fix the problem with Arcade expressions not appearing.&amp;nbsp;However, doing that causes some compatibility issues with other widgets. I also can't find anything that indicates theres a problem with these Arcade expressions in 3.26, so I'd prefer to find a solution that uses that version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 01:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128789#M3713</guid>
      <dc:creator>BatesRambow2</dc:creator>
      <dc:date>2019-02-07T01:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128790#M3714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you have found is that the FeatureSetByName was not yet implemented in version 3.26. In ArcGIS Online this function was release in the December update, so&amp;nbsp;it is quite recent. In Enterprise it will be include in the 10.7 version which will be release in March. In case you can resolve the incompatibility issues in 3.27 that would be the way to go if&amp;nbsp;you want to use the FeatureSetBy* functions in WAB Dev edition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 12:06:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128790#M3714</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-02-07T12:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128791#M3715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems that you're right. Thanks. I managed to get the other minor issues caused by the switch figured out, so it seems to be working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 14:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128791#M3715</guid>
      <dc:creator>BatesRambow2</dc:creator>
      <dc:date>2019-02-07T14:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128792#M3716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a similar issue where featuresetbyname is also not working in collector, but is working on web map. Any news on when featuresetbyname will be working with collector/or is there another work around you could suggest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 11:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128792#M3716</guid>
      <dc:creator>CodyBiondi</dc:creator>
      <dc:date>2020-09-25T11:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128793#M3717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/405184"&gt;Cody Biondi&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this will be included in Collector. You may have heard that Collector and other field apps are being merged together in one easy to use application called ArcGIS Field Maps (currently in beta). There will be better support for Arcade in this app. It would be best to participate in the beta program (&lt;A class="link-titled" href="https://earlyadopter.esri.com/key/ArcGISFieldMaps" title="https://earlyadopter.esri.com/key/ArcGISFieldMaps"&gt;ArcGIS Field Maps&lt;/A&gt;&amp;nbsp;). This allows you to validate the functionality and contribute with suggestions for enhancements so that you (and others) will be able to&amp;nbsp;enable those workflows in the new software.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 13:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128793#M3717</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-09-25T13:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128794#M3718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your time, I appreciate the guidance on topic. I look forward to hopefully seeing this resolved in the new application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/128794#M3718</guid>
      <dc:creator>CodyBiondi</dc:creator>
      <dc:date>2020-09-28T11:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expressions appear in AGOL web map popups but cause error in WAB app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/1139201#M21871</link>
      <description>&lt;P&gt;The expressions that show on my Web Map popups are not available in the search or query wizards.&amp;nbsp; What is the solution to make these expressions available, or recreate them for the Query and Search Wizards?&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 23:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcade-expressions-appear-in-agol-web-map-popups/m-p/1139201#M21871</guid>
      <dc:creator>JohnCoddHere</dc:creator>
      <dc:date>2022-01-31T23:50:46Z</dc:date>
    </item>
  </channel>
</rss>

