Can't Add Features - Object reference not set to an instance of an object
We are using a custom workflow that uses 'GetCurrentPosition' transformer to capture user's location and uses it as it's geometry for a new feature for an editable Feature Service on our ArcServer stack. I know Essentials and HTML5 viewer can do this natively, but we want to use cascading combo boxes to limit options in the drop-down lists.
The error I am getting is:
There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'TestAddPointViaFS' failed Unhandled exception: 'Exception has been thrown by the target of an invocation.' in activity '1.16: AddFeatures'. Exception has been thrown by the target of an invocation. Object reference not set to an instance of an object.
I'm thinking that my OBJECTID field is not being populated. I'm having issues figuring out which field is not being populated. I am developing this in chunks. I have I have the cascading box built and working. Now I am trying to create and add this new point feature to our ediable feature service using graphics and 'AddFeatures' tool.
We are using the following:
ArcServer 10.4
GE 4.5.0
HTML5: 2.6.0
0
-
The OBJECTID should be self-generating. I would check the featureservice for any other required fields that you may be missing when you try to create the feature. The REST endpoint is the easiest place to check, as it lists all the attributes and if they are required. If you don't provide all the required values, ArcServer will not allow a feature to be created. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar