Hello,
We are visiting different properties and collecting owner/occupier details. I'm setting up a form in Map Viewer. If the owner is the occupier I'd like for the owner fields to get automatically populated into the occupier details so the surveyor doesn't have to do that themselves. (Some context: owner details are already populated. This is for if surveyors go back into any existing entries and need to fill out occupier details.)
This is the expression I wrote in the Occupier field. I have double checked I don't have any misspells and am using the correct features below.
if ($feature.OwnerIsOccupier=='Yes') {
return $feature.owners_updated;
} else {
return "";
}When I test it /do a run it outputs correctly, but when I go into Map Viewer and enter via the form nothing happens. (Yes, the owner fields are all populated so there is data ready to copy over.) Have I missed something here? This is the guidance I am following.
I have made sure to save the form and map before editing a parcel/going into the form to update the occupier details.
I have this set up as an arcade expression will the user be able to manually override it (type in an answer) if it is empty?
Instead of "" is there a better thing to put there like null?