<?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 data expressions and pulling private data from Portal into ArcGIS Online in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1135802#M43868</link>
    <description>&lt;P&gt;I've done this sort of thing. When I attempt it, I am prompted for my login credentials for the other portal, but I don't know if that's consistent with other users. It &lt;EM&gt;does &lt;/EM&gt;seem possible, though.&lt;/P&gt;&lt;P&gt;To your second question, I'd say "no". I have to wonder if that video was demoing an earlier version of Data Expressions. In &lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#dashboard-data" target="_blank"&gt;the Arcade docs&lt;/A&gt;, it's pretty clear:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; This profile does not expose any global variables.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 21 Jan 2022 14:09:19 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2022-01-21T14:09:19Z</dc:date>
    <item>
      <title>Dashboard data expressions and pulling private data from Portal into ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1135764#M43867</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Working with ArcGIS Online 9.4 and Portal 10.8.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;We created a web map in ArcGIS Online with private Portal data and we are using it in an ArcGIS Online dashboard.&amp;nbsp; Don't ask about the reasons it is like this. That's something out of my control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The fact is that&amp;nbsp;I want to use a data expression in an indicator widget using that same Portal data but it's not working&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;FeatureSetByPortalItem function returns this error: "NetworkError when attempting to fetch resource."&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;A href="https://youtu.be/Dub1Ako2ljw" target="_blank" rel="noopener"&gt;This video&lt;/A&gt;&amp;nbsp;(see minute 30:36) suggests you can use global variable &lt;STRONG&gt;$map_itemID&lt;/STRONG&gt;&amp;nbsp;to access data referenced in the dashboard, which has sense since all widgets use the layers in the Map widgets inside the dashboard. But I don't see that global variable in the arcade editor and anyway&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;it's not working.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;My first question is: is it possible to access private Portal data from a data expression in an AGOL dashboard?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;And second: is there any map/data requirements that will make the $map global variable available in the arcade editor?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 10:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1135764#M43867</guid>
      <dc:creator>AGP</dc:creator>
      <dc:date>2022-01-21T10:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard data expressions and pulling private data from Portal into ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1135802#M43868</link>
      <description>&lt;P&gt;I've done this sort of thing. When I attempt it, I am prompted for my login credentials for the other portal, but I don't know if that's consistent with other users. It &lt;EM&gt;does &lt;/EM&gt;seem possible, though.&lt;/P&gt;&lt;P&gt;To your second question, I'd say "no". I have to wonder if that video was demoing an earlier version of Data Expressions. In &lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#dashboard-data" target="_blank"&gt;the Arcade docs&lt;/A&gt;, it's pretty clear:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; This profile does not expose any global variables.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 21 Jan 2022 14:09:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1135802#M43868</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-01-21T14:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard data expressions and pulling private data from Portal into ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1136625#M43898</link>
      <description>&lt;P&gt;The user will be prompted for a portal login as well unfortunately. To circumvent this you would have to have access to the data directly, for example by setting up a collaboration between your portal and AGOL and access the resulting item in your dashboard. However, for the user to be able to see your data it would still require access to the data itself I believe. You could set a view on the AGOL item and share the view with the dashboard user if you want to limit the available fields or features.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 21:52:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dashboard-data-expressions-and-pulling-private/m-p/1136625#M43898</guid>
      <dc:creator>HuubZwart</dc:creator>
      <dc:date>2022-01-24T21:52:54Z</dc:date>
    </item>
  </channel>
</rss>

