<?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: Populate Date field with Arcade in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/1644393#M66042</link>
    <description>&lt;P&gt;I forgot to mention the issue for me is with Arcade used in calculating a value in the Field Maps app. Obviously in Survey123 the "once" function is not an Arcade function.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Aug 2025 18:33:42 GMT</pubDate>
    <dc:creator>BillSimper</dc:creator>
    <dc:date>2025-08-21T18:33:42Z</dc:date>
    <item>
      <title>Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28455#M1405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to populate a date field, with the date and time&amp;nbsp;from the exact moment&amp;nbsp;another field is updated. I am using Arcade to do this. I have been able to get the local time from the machine, and populate the date field when the other field is updated, but it keeps updating every second. I want the time field to stay at the time when the other field is first updated, and to not keep automatically updating. Below is the Arcade code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var ResDate = ToLocal(TimeStamp())&lt;BR /&gt;var Status = $feature.Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIf(Status == 'Resolved', ResDate, null)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am then putting this arcade expression in the layer's pop up. So, once a feature's status field is changed from 'Unresolved' to 'Resolved', I want the time to be grabbed and put in the new resolve date field. However, that time keeps getting pulled and updated. I tried using the 'break' operator for arcade with no success. So essentially, I am hoping to pull the time once, and leave it. Any help would be awesome! Arcade is still new and finding detailed documentation can be difficult. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 14:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28455#M1405</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-06T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28456#M1406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to display the field using&amp;nbsp;Arcade in calculate function or are you calculating the expression in a pop up? When a&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/calculate-fields.htm"&gt; field is calculated&lt;/A&gt; using Arcade a one time calculation is made. If you are running this calculation and include the time stamp, it will take the timestamp at the time that you run the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calculating an expression in a pop-up using arcade (which I think is what you are doing), the arcade expression runs and calculates when the map is loaded and the pop-up is called. The timestamp will then be displayed based on when the map was opened.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think either of these functions will address your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think using &lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION1_030A9819DFF7498E9DFCDE6030E5FFBA"&gt;editor tracking&lt;/A&gt; (keep track of who created and updated features) and an arcade expression to calculate resolved based on the date created or updated field. Can you provide some more details about the workflow? How does the time get updated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 15:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28456#M1406</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2019-05-06T15:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28457#M1407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that the editor tracking [EditDate] field gets updated every time a feature is touched. Let's say that the user marks the point feature as resolved, and the [EditDate] field get updated with the date and time they marked&amp;nbsp;the feature resolved. Then they go back in a week later to add attachments, or extra notes and follow up information. That [EditDate] now gets updated as well. In reality, I want the exact date and time that the user marked the issue resolved initially. Does that help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 16:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28457#M1407</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-06T16:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28458#M1408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this might become possible in the future when support for attribute rules is implemented in ArcGIS Online and the Field Apps (at this moment there is only support for attribute rules when you have Enterprise):&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm"&gt;https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would require the a Calculation Attribute Rule:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/calculation-attribute-rules.htm#GUID-4E18C976-36C0-433C-884D-034A6353910B"&gt;https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/calculation-attribute-rules.htm#GUID-4E18C976-36C0-433C-884D-034A6353910B&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 19:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28458#M1408</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-06T19:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28459#M1409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This makes sense to be a part of ArcGIS Online. Is this functionality planned for a future AGOL update soon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 19:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28459#M1409</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-06T19:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28460#M1410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be highly interested in this if it is possible. To take editor tracking and somehow an arcade expression to populate a field when another field is updated. Can you assist with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workflow is: a feature class of countries and a user can update a particular attribute of that country. Would like it so that the date field is populated when that one attribute is updated/changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28460#M1410</guid>
      <dc:creator>MarquesMunson1</dc:creator>
      <dc:date>2019-11-14T16:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28461#M1411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is feedback that we hear from time to time, but don't have a planned release for this currently. Have you found a solution to this or is this still a need that you have? If it is still something that you need, I'd like to set up a time to chat about this in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:54:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28461#M1411</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2019-12-30T21:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28462#M1412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marques,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback. Am i correct, in that you only want the date recorded when a specific attribute is changed? For example: Only record the &lt;STRONG&gt;last precipitation date&lt;/STRONG&gt;, if the users specifies Yes for the &lt;STRONG&gt;precipitation&lt;/STRONG&gt; field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you want to have more than one of these types of&amp;nbsp;calculations per feature?&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:58:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28462#M1412</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2019-12-30T21:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28463#M1413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, a chat with you would be great! We would love this functionality at our organization. Let me know when you are available next. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2019 12:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28463#M1413</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-12-31T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28464#M1414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/258158"&gt;Scott Evans&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3063"&gt;Kelly Gerrow&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went back and read the original question again and think that Workforce will enable&amp;nbsp;you access to the exact date and time an issue was solved. Every change in status comes with it date time field to track those changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3063"&gt;Kelly Gerrow&lt;/A&gt;&amp;nbsp;, what I have seen across GeoNet is the&amp;nbsp;request to be able to create dynamic symbology with more complex Arcade expressions that involve retrieving data from attachments, related tables and other layers. Since this would have a high impact on rendering, it would be&amp;nbsp;very helpful if we would have the option to schedule field calculations or have support for attribute rules in ArcGIS Online so that dynamic data could be rendered correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To share a use case; suppose you&amp;nbsp;do inspections on assets in the field and those inspection results are stored in a related table of the asset layer so you have access to the history and you want to symbolize the inspection results from the related table. This is only possible when you do a field calculation and bring the results back in the asset layer. However, since fieldwork continues and the data is dynamic, you will have to repeat the calculation frequently. Perhaps on the short term scheduled geoprocessing that will be released in ArcGIS Pro 2.5 next month could be a temporal solution. However, support for attribute rules or scheduled calculations in AGOL would make this workflow more elegant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look at some recent questions where I contributed to include some links to user questions to provide some more use cases.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy New Year!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2019 13:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28464#M1414</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-12-31T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28465#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/KGerrow-esristaff"&gt;KGerrow-esristaff&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below some more example use cases for symbology (and labeling):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/233176-labeling-in-agol-with-arcade#comment-899089"&gt;https://community.esri.com/thread/233176-labeling-in-agol-with-arcade#comment-899089&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/234191-point-symbology-based-on-location"&gt;https://community.esri.com/thread/234191-point-symbology-based-on-location&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/229774-arcade-expressions-for-symbolizing-features-based-on-feature-counts"&gt;https://community.esri.com/thread/229774-arcade-expressions-for-symbolizing-features-based-on-feature-counts&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/211703-triggering-symbology-to-change-14-days-after-a-domain-gets-change-in-feature-service"&gt;https://community.esri.com/thread/211703-triggering-symbology-to-change-14-days-after-a-domain-gets-change-in-feature-service&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/207911-query-to-apply-symbology-based-off-field-value"&gt;https://community.esri.com/thread/207911-query-to-apply-symbology-based-off-field-value&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2019 15:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28465#M1415</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-12-31T15:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28466#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the exact same question (I want to do the same thing as Scott) !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have a final answer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 21:49:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/28466#M1416</guid>
      <dc:creator>Jean-FrancoisBrisson</dc:creator>
      <dc:date>2020-04-20T21:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/1644392#M66041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. In my case I'm trying to create a unique ID value utilizing Hours/Minutes/Seconds when the record is created. Both the Now() and Timestamp() functions work for this EXCEPT that the value keeps changing over the course of the user filling out the form, i.e. every time some attribute value is updated, the timestamp value will also update. This is problematic because this ID value is intended to be used for specimens being collected, i.e. it's being written on sample baggies and these two values need to match. Even more problematic is the fact that if the record is opened for editing later (possibly days later) this value will continue to update, hopelessly confusing things. This seems like kind of a niche problem but it'd be great to have a solution (besides just having users write this value into a free text field). The equivalent solution in Survey123 is to use the "Once" function to limit the re-calculation of a calculated value. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 18:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/1644392#M66041</guid>
      <dc:creator>BillSimper</dc:creator>
      <dc:date>2025-08-21T18:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Date field with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/1644393#M66042</link>
      <description>&lt;P&gt;I forgot to mention the issue for me is with Arcade used in calculating a value in the Field Maps app. Obviously in Survey123 the "once" function is not an Arcade function.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 18:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/populate-date-field-with-arcade/m-p/1644393#M66042</guid>
      <dc:creator>BillSimper</dc:creator>
      <dc:date>2025-08-21T18:33:42Z</dc:date>
    </item>
  </channel>
</rss>

