Hi all,
I created an Arcade expression using the Field Maps Designer 2 days ago (10/22/25). The arcade expression creates a unique id based on the initials of the user and getting the latest object id as a starting counter plus 1. This worked when I tested it in the Field Maps designer map and also in the FieldMaps app. This expression functions in an offline scenario.
Today I added a new record in the Field Maps designer map and the record did not populate, although the "Create Features" display box shows the value, once I click "Create" no value is transferred to the record. When I run the same map in FieldMaps the value is populated correctly.
Help, am I crazy?
Here's my code:
if(!isEmpty($feature.WaypointID )){
return $feature.WaypointID
}
var userInfo = GetUser($layer);
var numberlist = FeatureSetByName($map,"Waypoint")
var topnum = Top(OrderBy(numberlist,'OBJECTID DESC'),1)
var counter = Number(Max(topnum,'OBJECTID'))
var id = counter+1
return Text(left(userInfo.username,2) + "-" + id);