Field Domain null option
We often use Field Domains in SDE to create drop down options in Mobile for users to pick from for data integrity and simplicity's sake. I noticed that in Arc there is an option for null if the field allows it:
But in the Mobile app, that null options does not show.
If a user were to select one of the options available, or come back to an already selected feature and edit it in the future, there is no way for them to set that field back to null. For now we've added a 'None' option, but that just causes other problems because now there are essentially two values in the table for the same thing, 'None'/NULL.
Is there a way to have the app show the NULL option when the field is nullable.?
-
Hi Max,
Thank you for your question. I've taken a look into this and confirmed it is not currently possible to get the 'null' value to show up when the field is nullable, besides using that workaround method you described.
I've chatted with our team and this seems to be a fairly straightforward implementation. We've created an improvement story in our backlog and will look to include this in an upcoming release.
Thank you for the suggestion!
Phil MacIntyre
0 -
Hi again Max,
I should also mention that in the interim, you could also create your own Add/Edit Workflow and override the default, out-of-the-box tools on a per-layer basis. You could create your own display form and populate a drop down form element with your coded value attribute field, then manually create an additional option that would allow your user to select 'Null', and then just ignore it when the form submits, thus leaving the field in its null state in your data.
That would give you a cleaner workaround than using the placeholder 'None' value you described.
Cheers,
Phil
0 -
Thanks for looking into this and adding it to a future build. As we keep building out our mobile solutions projects get more complicated and use specific. Good to hear you want to also keep adding more features and making the app more robust.
1 -
Hi Max,
I have some good news for you. We have implemented this work and it will be available in our 5.22 release, scheduled for a late February launch. Non-nullable coded value domains will continue to function as is, but nullable coded value domains will display a <Null> option with our add/edit functions.
Once saved, a true null value will be present for the feature:Hope this helps,
Phil
0 -
Thanks Phil, that will be a great addition!
1
Du måste logga in om du vill lämna en kommentar.
Kommentarer
5 kommentarer