Hosted Feature Layer Not Honoring Subtypes

147
1
10-02-2017 07:58 AM
DavidColey
Frequent Contributor

Hello -

After configuring SDE layers in ArcPro (using our local coordinate system) for publication to AGOL and Open Data site, I am finding that the subtype code descriptions are not being honored once the layer is hosted.  I am using the following python 3.5.3 arcpy modules:

arcpy.mp.CreateWebLayerSDDraft();

arcpy.StageService_server();

arcpy.UploadServiceDefinition_server();

as outlined in Pro's help. I know that one of the benefits of hosting layers directly from SDE is that file geodatabase downloads are then enabled from our Open Data site.  But I also thought that domain coded value descriptions and subtype descriptions would then be honored but am finding that not to be the case.

This looks like a bug to me. Has anyone encountered this?

Thanks,

David

Tags (2)
1 Reply
DavidColey
Frequent Contributor

Looks like I figured it out.  It appears that with subtypes the symbology in ArcPro has to be set to display on subtype, otherwise the field is not recognized as a subtype field and then does not display the descriptions

0 Kudos