Select to view content in your preferred language

How to add a new field to Shapefile Feature Table

1360
2
Jump to solution
02-26-2021 10:50 AM
LloydNyahwai
New Contributor

Is there a way to extent the Fields of Shapefile Feature Table, such as adding adding a new Column to the table

 

The only option that i m seeing is FeatureTable.Fields.Count not FeatureTable.Fields.Add just like any other list or collection class or method

Tags (1)
0 Kudos
2 Solutions

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

You cannot change the table schema of an established table after creation in Runtime.
You could use ArcGIS Pro to do this though.

View solution in original post

MichaelBranscomb
Esri Frequent Contributor

Additionally if you're building an app using WPF (or even our preview for WinUI...) then you may also be able to use ArcGIS Runtime Local Server to achieve this. You will need to write a custom Model or Python Script in ArcGIS Pro, run it, and then use the Package Result tool to create a Geoprocessing Package (with support for ArcGIS Runtime). Note there may be additional licensing needed if you are using the Local Server component, for more information see: https://developers.arcgis.com/net/local-server/.

View solution in original post

0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

You cannot change the table schema of an established table after creation in Runtime.
You could use ArcGIS Pro to do this though.

MichaelBranscomb
Esri Frequent Contributor

Additionally if you're building an app using WPF (or even our preview for WinUI...) then you may also be able to use ArcGIS Runtime Local Server to achieve this. You will need to write a custom Model or Python Script in ArcGIS Pro, run it, and then use the Package Result tool to create a Geoprocessing Package (with support for ArcGIS Runtime). Note there may be additional licensing needed if you are using the Local Server component, for more information see: https://developers.arcgis.com/net/local-server/.

0 Kudos