I have a client with a hosted feature layer and when I use /FeatureServer/layers?f=json , it shows the geometryField property outside of the fields array for the SHAPE field but does not show the alias.
"geometryField": {
"sqlType": "sqlTypeOther",
"nullable": true,
"editable": true,
"name": "shape",
"typeName": "st_geometry",
"length": 2147483647,
"type": "esriFieldTypeGeometry"
}
I've never encountered this before as most of services we've worked with have the geometryField in the fields array per layer.
Is there a setting to set the Alias and have it show or is there something about the above geometryField that tells me more about why this is. I also couldn't find anything about "sqlType": "sqlTypeOther" and whether that has an effect on why the alias doesn't show