Hi,
I add a layer to ArcGis pro from a .GPKG using c#.
The option for that layer to add a field is greyed out in the interface.
I use this code to add it.
Ex: LayerFactory.Instance.CreateLayer(new Uri("Path.gpkg\main.layer"), map, map.Layers.Count, "Layer Name");
Question:
Can I do something else to make it that I have the "add field" tool active?
or is it just because that .gpkg is not supported? If so...do you think that it will.
Thanks,Tommy!
Solved! Go to Solution.
the sdk will follow the behavior of the UI. Add field on a geopackage must not be supported.
if u add a layer using a geopackage via the UI do u get the same behavior?
Good question.
Yes, I have the same behavior.
the sdk will follow the behavior of the UI. Add field on a geopackage must not be supported.