Select to view content in your preferred language

Update Features (FeatureServer)

634
1
07-05-2011 09:07 AM
HeathClark
Occasional Contributor
I have some code written to allow a user to update a particular field value (ID #) of an object in a service.  Works great EXCEPT when the user selects either a geometry that was added as Circle in ArcMap, or a Polyline that has been symbolized using Proportional Symbols (which I need as it shows Pipelines in a rather nice fashion based on pipe diameter).  I can select and "Identify" the geometries and retrieve the current field value, however, it will not Save a change.  The error logged on the server while attempting to save/update a field value on a circle geometry is:


Method failed.HRESULT = 0x80041599 : This is a FACILITY_ITF error that is specific to the interface that returned this error. See the documentation of the interface that returned this error for information about this HRESULT.


Anyone with any ideas?  I have a number of "Circle" geometries in the service representing a number of objects (pipe access hatches, circle lids on vaults, etc.) and don't want to have to recreate these objects.

thx
0 Kudos
1 Reply
HemingZhu
Frequent Contributor
I have some code written to allow a user to update a particular field value (ID #) of an object in a service.  Works great EXCEPT when the user selects either a geometry that was added as Circle in ArcMap, or a Polyline that has been symbolized using Proportional Symbols (which I need as it shows Pipelines in a rather nice fashion based on pipe diameter).  I can select and "Identify" the geometries and retrieve the current field value, however, it will not Save a change.  The error logged on the server while attempting to save/update a field value on a circle geometry is:



Anyone with any ideas?  I have a number of "Circle" geometries in the service representing a number of objects (pipe access hatches, circle lids on vaults, etc.) and don't want to have to recreate these objects.

thx


I don't think JS API suports Proportional Symbol. You might have to work around by using Class Breaks Renderer or Updating your feature layer but only display it in associated map service (see explanation on FeatureLayer's MODE_SELECTION)
0 Kudos