arcgis enterprise sdk add Feature

451
1
Jump to solution
12-29-2021 02:21 AM
pspada_WT
New Contributor III

Hi, I'm adding a newFeature to a Utility Network using a SOE.

The problem is that when i add a new Feature it is all with null value.

pspada_WT_0-1640773153026.png

Due to the fact that same fields are not editable,i can't modify them and they are still null so when i store the feature i receive an error of "null value not allowed". There is a way in the enterprise SDK to add a new row with the default values?

0 Kudos
1 Solution

Accepted Solutions
pspada_WT
New Contributor III

For who has the same problem i had found the solution. This problem is raised in case of tables with subtypes.

So when you create a new feature you had to set the subtype with the relative code and initialize the default value

pspada_WT_0-1641396818742.png

 

View solution in original post

0 Kudos
1 Reply
pspada_WT
New Contributor III

For who has the same problem i had found the solution. This problem is raised in case of tables with subtypes.

So when you create a new feature you had to set the subtype with the relative code and initialize the default value

pspada_WT_0-1641396818742.png

 

0 Kudos