Select to view content in your preferred language

Domain labels missing in ArcGIS Online but visible from ArcGIS Pro

869
4
04-02-2023 06:50 PM
IhabHassan
Esri Contributor

Recently we just completed a content migration to ArcGIS Online for this client.

However, some domain labels of one of the migrated hosted feature layers is not showing properly when using Generate List in ArcGIS Online. As shown below,  the labels of the domain are the same as the Code.

 

IhabHassan_0-1680486449166.png

 

However, when the same hosted feature layer is open in ArcGIS Pro, the domain is showing the label properly under description. Can anyone explains to me what I might be missing here?

 

IhabHassan_1-1680486468726.png

 

 

Regards
Ihab
Tags (1)
0 Kudos
4 Replies
David_McRitchie
Esri Contributor

Hey Ihab

That is unusual. I think it would be best to take an export of the layer from ArcGIS Online and then check the domain settings on ArcGIS Pro before uploading/overwriting the Hosted Feature Layer.

Hope that helps!

David

Esri UK -Technical Support Analyst
RhettZufelt
MVP Notable Contributor

That is the way Generate list seems to work.  If you wanted different codes vs domains, you would need to edit them.

However, if you shared that data from Pro, it should have the same Domain/List in AGOL as well as Pro unless it was deleted in the items detail page in AGOL.

In your attached photo, are you sure that the "Asset Offline" data is the same Hosted feature layer loaded in through the portal link in Catalog and not a "local" feature class somewhere?  It appears as if you are showing domains for two different datasets.

In either case, ESRI has alwasy been kind of flaky with Domains.  Some software/services/apps will honor the show description/code, other do not.  And, this seems to randomly change as well.  For this reason, I usually make my Code and Descr. the same so it "always" displays as expected.

R_

FrankOuyang
Esri Contributor

Hi, thanks for the insights and especially on having the code and descirption/label as the same. We are working with the Esri tech support on this issue and will provide an update if we can resolve it. 

FrankOuyang
Esri Contributor

Basically this is caused by different subsets of  the domain were assigned to another related field that has subtypes. Change in subtype selected in that field will change the domain values displayed. However, this is a limitation of AGOL to display this configuration properly as provided in:

https://doc.arcgis.com/en/arcgis-online/manage-data/define-attribute-lists-and-ranges.htm#:~:text=If....

0 Kudos