<?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>idea Add a function to get the current field's value within the Form Calculation Arcade profile in ArcGIS Field Maps Ideas</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idi-p/1308361</link>
    <description>&lt;P&gt;I would like to be able to get the current value from a form input without having to call the field by name when doing a calculation within Field Maps Form Calculation profile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take the following example that is calculating on the form input "DateTimeCompleted":&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var current_datetime = Now()
var f_name = "DateTimeCompleted"
var exist = $feature[f_name]
if (!IsEmpty(exist)){
  return exist
}
return current_datetime&lt;/LI-CODE&gt;&lt;P&gt;Instead of calling "DateTimeCompleted" it would be useful to use a contextual function to get the existing value of from the field that is getting calculated.&lt;/P&gt;&lt;P&gt;This would make it easier to write generic Arcade functions that can be quickly re-used.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 21:21:50 GMT</pubDate>
    <dc:creator>Gavin_Leavitt</dc:creator>
    <dc:date>2023-07-14T21:21:50Z</dc:date>
    <item>
      <title>Add a function to get the current field's value within the Form Calculation Arcade profile</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idi-p/1308361</link>
      <description>&lt;P&gt;I would like to be able to get the current value from a form input without having to call the field by name when doing a calculation within Field Maps Form Calculation profile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take the following example that is calculating on the form input "DateTimeCompleted":&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var current_datetime = Now()
var f_name = "DateTimeCompleted"
var exist = $feature[f_name]
if (!IsEmpty(exist)){
  return exist
}
return current_datetime&lt;/LI-CODE&gt;&lt;P&gt;Instead of calling "DateTimeCompleted" it would be useful to use a contextual function to get the existing value of from the field that is getting calculated.&lt;/P&gt;&lt;P&gt;This would make it easier to write generic Arcade functions that can be quickly re-used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 21:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idi-p/1308361</guid>
      <dc:creator>Gavin_Leavitt</dc:creator>
      <dc:date>2023-07-14T21:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add a function to get the current field's value within the Form Calculation Arcade profile</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idc-p/1308481#M1316</link>
      <description>&lt;P&gt;Hey Gavin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To clarify, within the Form Calculation and Form Constraint Profiles, are you seeking a profile variable similar to something like $self and by extension $originalSelf?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 21:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idc-p/1308481#M1316</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-07-16T21:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add a function to get the current field's value within the Form Calculation Arcade profile</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idc-p/1309307#M1322</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;&amp;nbsp;Yes, I was not clear on the correct terminology for this idea, but profile variables of "$self" and "originalSelf" are exactly what I am asking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 22:02:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idc-p/1309307#M1322</guid>
      <dc:creator>Gavin_Leavitt</dc:creator>
      <dc:date>2023-07-18T22:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add a function to get the current field's value within the Form Calculation Arcade profile</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idc-p/1664098#M2439</link>
      <description>&lt;P&gt;These generic variables would immensely help with updating a group of fields based on a status flag. I don't want to have to create expressions for each field (there are about 2 dozen of them), when the same transformation needs to happen to each field.&lt;BR /&gt;Having $self would make this one single expression to handle all of the fields.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 22:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/add-a-function-to-get-the-current-field-s-value/idc-p/1664098#M2439</guid>
      <dc:creator>MarkGo</dc:creator>
      <dc:date>2025-11-06T22:37:57Z</dc:date>
    </item>
  </channel>
</rss>

