I have a Feature layer published that I'm trying to load in a small proof of concept projet with ArcGIS Map SDK .Net.
When this code is called:
var featureLayer1 = new FeatureLayer(item, i) { MinScale = 500000000, MaxScale = 1 };
Map.OperationalLayers.Add(featureLayer1);
I get this error:
ArcGIS Maps SDK: Load Error: FeatureLayer
Esri.ArcGISRuntime.ArcGISRuntimeException
Unknown error: invalid uuid string
The feature has many fields and 4 or 5 of them are of type esriFieldTypeGUID like this one:
inspectionid ( modelName: inspectionid, nullable: false, editable: true, defaultValue: null, length: 38, alias: InspectionId, type: esriFieldTypeGUID )
All the guids in those columns are valid guids but the SDK seem to have a problem with them.
Is it a bug? What am I missing?