<?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: arcade expression in Field Maps pop-ups in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676877#M12162</link>
    <description>&lt;P&gt;Ah sorry, I forgot to sub out my playground test variable, replace f with $feature in your case.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jan 2026 19:07:58 GMT</pubDate>
    <dc:creator>DavidSolari</dc:creator>
    <dc:date>2026-01-08T19:07:58Z</dc:date>
    <item>
      <title>arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676416#M12145</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a simple arcade expression for a point layer (with a join) in map viewer (portal). The pop-up currently links to Survey123 and shows a photo attachment. I would like to also display some text, but only for a specific point. My expression runs in the&amp;nbsp;&lt;EM&gt;New Expression&lt;/EM&gt; editor but when I click on the point in the map, the text does not appear. I also get an error (Error code: 7018) in the field maps app. The field I am referencing is a text field and my expression is as follows:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if ($feature.stop_id == '00627'){
	return "pile to the East"}
	else {return ""}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 18:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676416#M12145</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2026-01-07T18:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676435#M12146</link>
      <description>&lt;P&gt;Error code: 7018 is a syntax error.&amp;nbsp; I'm no expert, but try something like the following:&lt;/P&gt;&lt;P&gt;if (feature.stop_id == '00627') {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;return "pile to the East";&lt;/P&gt;&lt;P&gt;} else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;return "";&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 18:33:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676435#M12146</guid>
      <dc:creator>JasminePrater</dc:creator>
      <dc:date>2026-01-07T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676436#M12147</link>
      <description>&lt;P&gt;Your expression runs fine in the Arcade Playground so I doubt it's the issue. Maybe some parts of ArcGIS handle nonstandard formatting weird, you can sub in this 1-line version to test that:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Iif(f.stop_id == "00627", "pile to the East", "")&lt;/LI-CODE&gt;&lt;P&gt;Does the pop-up work in the regular map viewer or is it broken everywhere? Some pictures of how you've configured the pop-up will help here.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 18:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676436#M12147</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2026-01-07T18:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676481#M12148</link>
      <description>&lt;P&gt;The arcade expression is stored in the pop-ups pane with the expression I mentioned above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I click on the point where the text should appear, nothing shows.&lt;/P&gt;&lt;P&gt;This is what it looks like in the field maps app&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Expression name:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Expression title: Note&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error domain: com.arcgismaps.exceptions.MappingException&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error code: 7018&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error description: Arcade expression is invalid. Expression doesn't return a dictionary.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahRijneke_3-1767815467091.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146450iB587D2331F89B2EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahRijneke_3-1767815467091.png" alt="SarahRijneke_3-1767815467091.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahRijneke_0-1767815071018.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146446i6B70EE28D8580568/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahRijneke_0-1767815071018.png" alt="SarahRijneke_0-1767815071018.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 13:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676481#M12148</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2026-01-08T13:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676484#M12149</link>
      <description>&lt;P&gt;The code you provided doesn't work in the expression builder:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahRijneke_4-1767815642491.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146451iD2853B501AF66F36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahRijneke_4-1767815642491.png" alt="SarahRijneke_4-1767815642491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 19:54:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676484#M12149</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2026-01-07T19:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676486#M12150</link>
      <description>&lt;P&gt;You mention a 'join' and 'portal', but didn't mention the version.&amp;nbsp; Is this a hosted layer or Enterprise?&lt;/P&gt;&lt;P&gt;I ask, as there is a bug in FMA (&amp;nbsp;BUG-000163548 -&amp;nbsp;&lt;SPAN&gt;The ArcGIS Field Maps field app does not display pop-ups for a feature layer with a joined table from ArcGIS Enterprise 10.8.x.).&lt;BR /&gt;I am using 10.9.1 and this is still an issue.&amp;nbsp; The popup(s) work fine in map viewer (both of them), but is just ignored in FMA.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;In your case, I'm wondering if only the Arcade is coming up in the popup, but not the actual data?&lt;BR /&gt;You could test to see if it is this issue by using the same layer in a map with no arcade, and see if the popup works in FMA or not.&amp;nbsp; If it comes up, something else.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 20:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676486#M12150</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2026-01-07T20:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676492#M12151</link>
      <description>&lt;P&gt;I believe we're using Enterprise 11.3 and that it's a hosted service (I didn't create the dataset).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pop-up in map viewer doesn't display the expression and I get the 7018 error in field maps when I click on any point. The other pop-up configurations show in Field Maps (a link to launch a survey &amp;amp; a photo attachment).&lt;/P&gt;&lt;P&gt;The field length looks bizarre to me but I don't have a lot of experience working with portal items so I don't know if it's unusual or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahRijneke_0-1767817614111.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146452i44F7E66DF01BA407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahRijneke_0-1767817614111.png" alt="SarahRijneke_0-1767817614111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 20:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676492#M12151</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2026-01-07T20:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676556#M12153</link>
      <description>&lt;P&gt;That's the max field length in most databases (largest singed 32-bit integer) it usually means your field was designed to hold big blocks of text. In your case it looks like the data design process went sideways but if you can read the field as-is in the rest of ArcGIS then the length probably isn't the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 23:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676556#M12153</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2026-01-07T23:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676666#M12157</link>
      <description>&lt;P&gt;the AI assistant came up with the following code which works in the map, but not in field maps.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;IIf(
  $feature.stop_id == "00627",
  "Pile snow to the East behind the hydro Pole. DO NOT PILE ON LAWN.",
  ""
);&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahRijneke_0-1767878901015.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146478i2D05AA378FDB9AD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahRijneke_0-1767878901015.png" alt="SarahRijneke_0-1767878901015.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahRijneke_1-1767879226224.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146479iAB5962DE3C051730/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahRijneke_1-1767879226224.png" alt="SarahRijneke_1-1767879226224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 13:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676666#M12157</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2026-01-08T13:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676678#M12159</link>
      <description>&lt;P&gt;This worked for me&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/problem-fields-are-not-displayed-in-arcgis-field-maps-000028731" target="_blank"&gt;Problem: Fields Are Not Displayed in ArcGIS Field Maps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 14:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676678#M12159</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2026-01-08T14:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: arcade expression in Field Maps pop-ups</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676877#M12162</link>
      <description>&lt;P&gt;Ah sorry, I forgot to sub out my playground test variable, replace f with $feature in your case.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 19:07:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-expression-in-field-maps-pop-ups/m-p/1676877#M12162</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2026-01-08T19:07:58Z</dc:date>
    </item>
  </channel>
</rss>

