I've been using Arcade calcuation expressions with good success in Field Maps. However, I'd like to know if it's possible to trigger the calculation only when the associated field is null. This would be similar to the once() operator, of the Survey123 whenEmpty calculation mode. Basically I want to make sure the calculation (the inspection date) doesn't get overwritten if the Smartform is opened at a later time after initial collection.
Solved! Go to Solution.
The IsEmpty function returns "true" if the value is null or empty ('').
If (!IsEmpty($feature.InspectionDate)){
//save a new Inspection Date
}
The IsEmpty function returns "true" if the value is null or empty ('').
If (!IsEmpty($feature.InspectionDate)){
//save a new Inspection Date
}
Thanks, that helps.