Select to view content in your preferred language

How to add a new field to Shapefile Feature Table

626
2
Jump to solution
10-15-2023 07:12 PM
jokerjoker
Occasional Contributor

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

I only see how to read

val shapeFileTable = ShapefileFeatureTable(shpPath)
shapeFileTable.load().onSuccess {
val fields = shapeFileTable.fields
fields.forEach {
logj(it.name)
}
}.onFailure {
logj(it.toString())
}
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RamaChintapalli
Esri Contributor

Hi,
Editing of the fields on Shapefile is not supported in Maps SDKs. You can edit so using ArcGIS Pro  to add new fields and read them in Maps SDK.

If you are looking for client side data storage options, you can also try creating mobile geodatabases and define the fields of your choice. Here is a sample to create mobile geodatabases.

Thanks
Rama

View solution in original post

0 Kudos
2 Replies
RamaChintapalli
Esri Contributor

Hi,
Editing of the fields on Shapefile is not supported in Maps SDKs. You can edit so using ArcGIS Pro  to add new fields and read them in Maps SDK.

If you are looking for client side data storage options, you can also try creating mobile geodatabases and define the fields of your choice. Here is a sample to create mobile geodatabases.

Thanks
Rama

0 Kudos
jokerjoker
Occasional Contributor

thank you

0 Kudos