<?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 ArcGIS Online Arcade Expression: Query Results in Viewer? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491709#M19061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;This maybe not be possible but trying anyway. I have a Map Service with geometry features published. Two of the columns are 'Zone1' and 'Zone2' with values like 'ABC' or 'DEF'. The values of 'ABC' or 'DEF' can be present in both columns in the same row.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;There is also a static 'lookup table' with a column named ZONECLASS and values like 'ABC' or 'DEF'. The static table is also published as layer in the along with the layer with geometry. So far so good.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;What I am trying to do is that inside ArcGIS Online's Arcade Expression, query the static table's layer and get that data displayed inside ArcGIS Online. The query works in the browser as:&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;&lt;A href="http://servicepath/MapServer/1/query?where=ZONECLASS=%ABC27&amp;amp;outFields=DOCNAME" rel="nofollow noreferrer" style="color: #358daa; border: 0px; font-weight: inherit; text-decoration: none;"&gt;http://servicepath/MapServer/1/query?where=ZONECLASS=%ABC27&amp;amp;outFields=DOCNAME&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;But how to bring value of the DOCNAME field inside ArcGIS Online? I have built an expression as above url but that's just a string. I need to get the output.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;Is that even possible? Any alternate solutions?&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 21:01:47 GMT</pubDate>
    <dc:creator>IrfanClemson</dc:creator>
    <dc:date>2018-05-29T21:01:47Z</dc:date>
    <item>
      <title>ArcGIS Online Arcade Expression: Query Results in Viewer?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491709#M19061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;This maybe not be possible but trying anyway. I have a Map Service with geometry features published. Two of the columns are 'Zone1' and 'Zone2' with values like 'ABC' or 'DEF'. The values of 'ABC' or 'DEF' can be present in both columns in the same row.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;There is also a static 'lookup table' with a column named ZONECLASS and values like 'ABC' or 'DEF'. The static table is also published as layer in the along with the layer with geometry. So far so good.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;What I am trying to do is that inside ArcGIS Online's Arcade Expression, query the static table's layer and get that data displayed inside ArcGIS Online. The query works in the browser as:&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;&lt;A href="http://servicepath/MapServer/1/query?where=ZONECLASS=%ABC27&amp;amp;outFields=DOCNAME" rel="nofollow noreferrer" style="color: #358daa; border: 0px; font-weight: inherit; text-decoration: none;"&gt;http://servicepath/MapServer/1/query?where=ZONECLASS=%ABC27&amp;amp;outFields=DOCNAME&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;But how to bring value of the DOCNAME field inside ArcGIS Online? I have built an expression as above url but that's just a string. I need to get the output.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;Is that even possible? Any alternate solutions?&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 21:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491709#M19061</guid>
      <dc:creator>IrfanClemson</dc:creator>
      <dc:date>2018-05-29T21:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Arcade Expression: Query Results in Viewer?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491710#M19062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently it is not possible to query external data in the Arcade expression, you can only use the information present in the current record of the feature.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 21:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491710#M19062</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-05-29T21:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Arcade Expression: Query Results in Viewer?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491711#M19063</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/4544"&gt;Irfan Clemson&lt;/A&gt;‌ be sure to mark Xander's answer as correct!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 14:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-online-arcade-expression-query-results-in/m-p/491711#M19063</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-07T14:12:38Z</dc:date>
    </item>
  </channel>
</rss>

