If I add a new feature in Field Maps I like to populate a certain (empty) field with a specific value. All other features already have values in this specific field, only my new feature's field is empty. To populate this field I use the Arcade function "IsEmpty". But somehow this function doesn't work as expected.
How can I express in Arcade that a specific field of my new feature is empty?
Solved! Go to Solution.
I recently found that on some devices I had to write the form calc expression as follows to get it to properly evaluate:
if (IsEmpty($feature.NUMM) == true){
//I assume this field is numeric, not text?
return 1;
}
else {
return $feature.NUMM;
}
Also the field can't be editable by the user, or the expression won't evaluate.
I recently found that on some devices I had to write the form calc expression as follows to get it to properly evaluate:
if (IsEmpty($feature.NUMM) == true){
//I assume this field is numeric, not text?
return 1;
}
else {
return $feature.NUMM;
}
Also the field can't be editable by the user, or the expression won't evaluate.