Subtype & Domain Does Not Publish to ArcGIS Online?

14518
14
Jump to solution
05-29-2018 07:54 AM
WhiteWaterMidstream
Occasional Contributor

I use the Esri Utility & Pipeline Data Model 2018 which has alot of short integer subtypes and domains. When I publish layers to ArcGIS online I lose all of the subtype and domain definitions so when we click on features we get meaningless numbers instead of a type attribute.

Why does subtypes and domains not publish to AGOL with the layer? I'm using ArcGIS Pro to publish.

Is this a bug or oversight? Esri, can we add this to updates?

Thank you,

Lee Davis

Senior GIS Specialist

WhiteWater Midstream

14 Replies
APaulsen
Frequent Contributor

Can you please explain what this entails?  Has this issue been resolved?  I am struggling with subtypes and domains in Online as well.

0 Kudos
AndrewBarker3
Regular Contributor

Hi everyone,

I too run into this frustration but I believe I know the cause (but not the solution, which I realise is frustrating).

Domains and sub-types are an enterprise database feature.

AGOL does not run an enterprise database - I'm not certain what it runs under the hood but it most definitely isn't Oracle or SQL enterprise DBs.  

When you publish X number of map or feature services that use the same domain, unbeknownst to you, you have now duplicated that domain X times.  So if you choose, in AGOL to edit it, you need to edit it X times.  Domains stop applying across all layers and only apply to one layer at a time.  

When you add any of these feature layers back into ArcGIS Pro, you cannot edit the domains because, secretly they aren't really domains anymore.  

BronwenHughes
Regular Contributor

We also has this problem. We discovered that, prior to publishing to ArcGIS online, the layer needs to be symbolised using the numeric subtype field in ArcPro. By assigning unique simple symbols (ArcGISOnline does not seem to like complex / complicated symbology) to each subtype value, we solved the issue!

DianaKalil
Esri Contributor

I recently had a case where the subtypes were set right, symbology set to unique values, but when publishing we were receiving an error. I asked to have a subset of the data in GDB published with no issues on my end. It seems like ArcGIS Pro generates a Service Definition but can't generate the layer, so the service definition shows in ArcGIS Online, when trying to publish it from ArcGIS Online it showed an undefined error. So most likely is data-related, could be geometry related, or just corrupted data. I asked her to publish it from ArcGIS Pro but using the GDB created, not the map she had when the issue appeared.

0 Kudos
DianaKalil
Esri Contributor

News on the above, she had a Geometric Database Network that is not a supported format for ArcGIS Pro. I suggested creating a new GDB excluding that file and it worked! Always check your data 🙂

0 Kudos