Hi
Any Ideas why this arcade expression will not work? Trying to populate the name of the user who made the change into the field.
The expression will work in arcade test mode; however the return will not update into the field.
The same question works to populate the date field.
var userInfo = GetUser(portal("https://rtw.maps.arcgis.com"),"")
var name = (userinfo["fullName"])
if ($feature["Buffer_Active"] == "Deactivated" || $feature["Buffer_Active"] != "Active"){
return name
}
I also had no luck with these expressions:
//var userInfo = GetUser(portal("https://rtw.maps.arcgis.com"),"")
var userInfo = GetUser($layer)
var name = (userinfo["fullName"])
//var userInfo = GetUser(portal("https://rtw.maps.arcgis.com")).fullName
if ($feature["Buffer_Active"] == "Deactivated" || $feature["Buffer_Active"] != "Active"){
return name
//return userInfo
}
@Anonymous User any help? Is this a known limitation?