<?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 scope of variables in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/scope-of-variables/m-p/1632723#M11106</link>
    <description>&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Is there any possible way to store a variable such that it can be used during the creation of successive features? For example a survey team ID or a reservoir level for bathymetric temperature readings.&amp;nbsp; So the scope of operation is really the field map when it is opened.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is there any way to store a variable that can be accessed by any of the arcade expressions associated with a form? So the scope is just within each new features data entry form.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;For example in my case, multiple fields need to access attributes in the previous record..&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;var lastRecord = FIRST(ORDERBY($layer,'created_time DESC'));&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;seems like my field map would run a lot faster if i was not running that query for each field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Jul 2025 18:56:59 GMT</pubDate>
    <dc:creator>TracyLove</dc:creator>
    <dc:date>2025-07-13T18:56:59Z</dc:date>
    <item>
      <title>scope of variables</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/scope-of-variables/m-p/1632723#M11106</link>
      <description>&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Is there any possible way to store a variable such that it can be used during the creation of successive features? For example a survey team ID or a reservoir level for bathymetric temperature readings.&amp;nbsp; So the scope of operation is really the field map when it is opened.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is there any way to store a variable that can be accessed by any of the arcade expressions associated with a form? So the scope is just within each new features data entry form.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;For example in my case, multiple fields need to access attributes in the previous record..&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;var lastRecord = FIRST(ORDERBY($layer,'created_time DESC'));&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;seems like my field map would run a lot faster if i was not running that query for each field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jul 2025 18:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/scope-of-variables/m-p/1632723#M11106</guid>
      <dc:creator>TracyLove</dc:creator>
      <dc:date>2025-07-13T18:56:59Z</dc:date>
    </item>
  </channel>
</rss>

