Add polygon to feature service

328
1
02-22-2023 06:07 AM
novruzjaf
New Contributor II

Hi, i want to add my polygon geometry to feature service. When i add point to feature service, working all. But when i add polygon to feature service not working. I log results in my logcat. I saw the doneListener method called, But FeatureTableEditResult is empty. Please help me. Thanksaaaaa.pngbbbbbb.png 

0 Kudos
1 Reply
Shubham_Sharma
Esri Contributor

You can only add a polygon geometry to a polygon service feature table. Otherwise the geometry will not be added to the table. Can you verify if the geometry type of the service feature table is "POLYGON"

serviceFeatureTable.geometryType.name

 

0 Kudos