Select to view content in your preferred language

Default Editor - "Unable to complete operation."

914
2
07-05-2012 07:30 AM
AdrianMarsden
Honored Contributor
Hi

I've taken the default editor from http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_default_editingwidget.html and pointed it at a feature service of mine.  It all displays all the edit stuff and allows me as far as clicking on a new location for the single point layer I have, but then nothing.  In the console I get a error with the message "Unable to complete operation."  The details of my feature layer are below.  Any ideas?

ACM



Name: sde.SDE_ADMIN.zz_test_point

Display Field: field1

Type: Feature Layer

Geometry Type: esriGeometryPoint

Description:

Definition Expression: N/A

Copyright Text:

Default Visibility: true

MaxRecordCount: 1000

Supported Query Formats: JSON, AMF

Min Scale: 0

Max Scale: 0

Supports Advanced Queries: true

Supports Statistics: true

Extent:
XMin: 287603.29310000036
YMin: 77481.15640000068
XMax: 336484.5109000001
YMax: 113666.57149999961
Spatial Reference: 27700  (27700)


Drawing Info:
Renderer:
Unique Value Renderer:
Field 1: field1
Field 2: null
Field 3: null
Field Delimiter: ,
Default Symbol:
Style: esriSMSCircle
Color: [0, 133, 163, 255]
Size: 4.0
Angle: 0.0
XOffset: 0
YOffset: 0
Outline:
[0, 0, 0, 255] Width: 1
Default Label:
UniqueValueInfos:
Value:
Label:
Description:
Symbol:
Style: esriSMSCircle
Color: [173, 38, 171, 255]
Size: 4.0
Angle: 0.0
XOffset: 0
YOffset: 0
Outline:
[0, 0, 0, 255] Width: 1
Value: A
Label: A
Description:
Symbol:
Style: esriSMSCircle
Color: [50, 133, 50, 255]
Size: 4.0
Angle: 0.0
XOffset: 0
YOffset: 0
Outline:
[0, 0, 0, 255] Width: 1
Value: B
Label: B
Description:
Symbol:
Style: esriSMSCircle
Color: [140, 57, 36, 255]
Size: 4.0
Angle: 0.0
XOffset: 0
YOffset: 0
Outline:
[0, 0, 0, 255] Width: 1
Transparency: 0
Labeling Info:

HasZ: false

HasM: false

Has Attachments: false

HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText

Type ID Field: field1

Fields:
OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false )
field1 ( type: esriFieldTypeString , alias: field1 , editable: true , nullable: true , length: 50 )
field2 ( type: esriFieldTypeString , alias: field2 , editable: true , nullable: true , length: 50 )
GlobalID ( type: esriFieldTypeGlobalID , alias: GlobalID , editable: false , nullable: false , length: 38 )
Types:
ID:
Name:
Domains:
Templates:
Name:
Description:
Prototype:
field1:
Drawing Tool: esriFeatureEditToolPoint
ID: A
Name: A
Domains:
Templates:
Name: A
Description:
Prototype:
field1: A
Drawing Tool: esriFeatureEditToolPoint
ID: B
Name: B
Domains:
Templates:
Name: B
Description:
Prototype:
field1: B
Drawing Tool: esriFeatureEditToolPoint

Capabilities: Create,Delete,Query,Update,Uploads,Editing

Sync Can Return Changes: true

Is Data Versioned: true

Supports Rollback On Failure: false
0 Kudos
2 Replies
FengZhang2
Deactivated User
See if you can edit the layer in ArcMap. If not, check the featureclass in the SDE geodatabase.
0 Kudos
AdrianMarsden
Honored Contributor
"no editable layers" so what have I missed in setting up the feature service.  The SDE account has write rights, the layer has a GUID (I'm not sure this is needed, but it is for ArcGIS for Mobile), it is versioned.  The Map Service is set for features?

Cheers

ACM
0 Kudos