<?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 expression not working with offline maps in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506150#M9090</link>
    <description>&lt;P&gt;I am using the following expression to auto populate users names in Field Maps. This works fine online but fails in offline maps, why is this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;fullname&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 13:28:52 GMT</pubDate>
    <dc:creator>LouiseHarris1</dc:creator>
    <dc:date>2024-07-17T13:28:52Z</dc:date>
    <item>
      <title>Arcade expression not working with offline maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506150#M9090</link>
      <description>&lt;P&gt;I am using the following expression to auto populate users names in Field Maps. This works fine online but fails in offline maps, why is this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;fullname&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 13:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506150#M9090</guid>
      <dc:creator>LouiseHarris1</dc:creator>
      <dc:date>2024-07-17T13:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression not working with offline maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506157#M9091</link>
      <description>&lt;P&gt;I don't think&amp;nbsp;&lt;SPAN&gt;.fullname is supported offline.&amp;nbsp; Try using GetUser($layer).username instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 14:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506157#M9091</guid>
      <dc:creator>Lee_Butler</dc:creator>
      <dc:date>2024-07-17T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression not working with offline maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506160#M9092</link>
      <description>&lt;P&gt;When you're online, what does GetUser($layer) actually do? And is it different from calling the function with no parameters, i.e., GetUser()?&lt;/P&gt;&lt;P&gt;According to the docs, that function takes a Portal object and/or username as its parameters. I don't think $layer does anything meaningful here.&lt;/P&gt;&lt;P&gt;Also, GetUser is a portal function, and probably relies on an internet connection.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 14:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506160#M9092</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-17T14:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression not working with offline maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506209#M9094</link>
      <description>&lt;P&gt;This is correct. Only username offline. Other properties like bio, name, makes a live request against the online profile.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 15:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-not-working-with-offline-maps/m-p/1506209#M9094</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-07-17T15:59:57Z</dc:date>
    </item>
  </channel>
</rss>

