I have an infrastructure related featureclass that has heights and widths which are doubles. They have coded value domains of type double that change depending on subtype.
I am trying to use the featureclass in Field Maps. Ideally the employee would pick a value, in this case of type Double, from a dropdown list of acceptable values from the coded value domain.
Usually works great for text fields but doesn't seem to work with numeric (double). I get an input box of type Number - Double that requires direct input with no way to set a dropdown list. Seems to do the same when editing in the new map viewer. Don't think I've ever run across this before. Are dropdown lists not available for non-text coded domains?
The domains based on the subtypes do seem to be present in the published service (ArcGIS Server) as shown by this partial copy, the subtype field is "Type"
Types:ID: 1
Name: Box
Domains:
ID: 2
Name: Arch - RCP
Domains:
ID: 3
Name: Arch - CMP
Any ideas greatly appreciated
Solved! Go to Solution.
Hey Keith,
I've had a very similar issue. I found that if I published the feature with symbology based on Subtype then everything would work fine. But if I tried to publish with symbology based on any other field, or with a custom expression, then my coded domains wouldn't come across. The user would not be presented with a dropdown and instead would have to know the coded domain value to enter.
I worked with support for quite a while and eventually logged a bug. It's been sitting 'In Review' since 11/28.
Hey Keith,
I've had a very similar issue. I found that if I published the feature with symbology based on Subtype then everything would work fine. But if I tried to publish with symbology based on any other field, or with a custom expression, then my coded domains wouldn't come across. The user would not be presented with a dropdown and instead would have to know the coded domain value to enter.
I worked with support for quite a while and eventually logged a bug. It's been sitting 'In Review' since 11/28.
Interesting. I will make some changes based on your experience and try it again.
Hello,
@Anonymous User can you share the incident or bug number of the issue you logged with Support?
@KeithGanzenmuller Can you invite the "craig_sp" user to a group that has the feature layer in it so we an take a look?
thank you,
#BUG-000144855
thanks @Anonymous User looks like it was submitted to feature service team to look at first; so it's not yet made it to our team to review.
I should also mention that this issue depends on how the domains are used. If an attribute has the same domain across all subtypes then it doesn't matter how it was published. But if an attribute has different domains across subtypes then the issue will present itself if published using any other field except the subtype.
You can see in my attachment the Lifecycle_Status would come through because it's the same domain across all subtypes. But the Diameter would not work because it differs between subtypes.
This wasn't really an issue until we moved to the UN. Before we used subtypes and domains but we used the same domain across all subtypes. But since the UN has consolidated separate features into one feature, now the domains of the same attribute will differ between subtypes.
I will say, for me, symbolizing by the unique values of the Subtype and republising worked and the unique coded value domains are available in Field Maps. Of note, they don't show as a combo box when configuring Field Maps but in the app during collection it displays a coded value list.
All, I'd like to get a repro case so we can look at this to diagnose and solve the issue. I know this is not always possible with Portal - but please reach out to me at cgillgrass@esri.com so we can work through what you're seeing.
thank you,
Hello,
I still have the same issue in 11.1
Working with UN asset group as subtypes. I want to publish a service with only one asset group, and a symbology based on the asset type.
I added a definition query to get only one subtype :
Also, for every feature template I specified the same asset group :
But, one published, the asset group field only shows the code (no domain), and the asset type field shows the correct domain, but other domains assigned to this specific subtype do not show in the web editor or map viewer.
Thanks