HOW TO
In ArcGIS Pro, it is possible to copy field values from one feature to another. When working on a project involving continuous data collection, it is sometimes necessary to populate field values with the current date based on another field to ensure temporal information is synchronized with relevant attributes, providing dynamic and real-time perspective on spatial data.
In this article, an attribute rule is applied to auto-populate the Date field with the current date when the Employed field contains the ‘Yes’ field value in ArcGIS Pro.
Note: The dataset requires Global IDs to add an attribute rule.
if ($feature.<field_name> == '<field_value>') { return Now(); } else { return Null; }
The image below displays the current date of employment, which is populated in the Date field when the Employed field contains the 'Yes' value.
Get help from ArcGIS experts
Download the Esri Support App