Feature Service Editor does not work with my feature layer

2528
3
Jump to solution
12-02-2013 10:04 AM
ionarawilson1
Occasional Contributor III
It seems the feature service editor Andy Gulp created and posted on github would be extremely helpful to me. However when I add my feature layer,  I just see a timer running, but no features appear on the table. I can see the correct number of  total records, however it is in a loop forever trying to display the features. Any ideas why this is happening? Thank you so much for any help!!!
This is the link to the editor:

https://github.com/Esri/feature-service-editor-js/blob/master/README.md

These are the details of my feature service:

ArcGIS REST Services Directory  Login | Get Token

Home > services > SARS_WILSON > Activitypoint2 (FeatureServer)
Help | API Reference

JSON | SOAP

SARS_WILSON/Activitypoint2 (FeatureServer)
View In:   ArcGIS.com Map

View Footprint In:   ArcGIS.com Map

Service Description:

Has Versioned Data: false

Has Versioned Data: false

MaxRecordCount: 1000

Supported Query Formats: JSON, AMF

Layers:
??? ActivityPoint (0)
Description:

Copyright Text:

Spatial Reference: 3665  (3665)


Initial Extent:
XMin: -1.3894588728820004E7
YMin: 1.1699095156963052E7
XMax: 2.0748741844019994E7
YMax: 4.1034173464609824E7
Spatial Reference: 3665  (3665)
Full Extent:
XMin: -1.23198918846E7
YMin: 7306985.0719
XMax: 1.9174044999799997E7
YMax: 2.41932744889E7
Spatial Reference: 3665  (3665)
Units: esriMeters

Document Info:
Title:
Author:
Comments:
Subject:
Category:
Keywords:
AntialiasingMode: null
TextAntialiasingMode: null
Enable Z Defaults: false



Child Resources:   Info   Uploads

Supported Operations:   Query   Apply Edits   Create Replica   Synchronize Replica   Unregister Replica


And:

ArcGIS REST Services Directory  Login | Get Token

Home > services > SARS_WILSON > Activitypoint2 (FeatureServer) > ActivityPoint
Help | API Reference

JSON

Layer: ActivityPoint (ID: 0)
View In:   ArcGIS.com Map

Name: ActivityPoint

Display Field: Office

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: -1.23198918846E7
YMin: 7306985.0719
XMax: 1.9174044999799997E7
YMax: 2.41932744889E7
Spatial Reference: 3665  (3665)

Drawing Info:
Renderer:
Simple Renderer:
Symbol:
Style: esriSMSCircle
Color: [113, 128, 0, 255]
Size: 4.0
Angle: 0.0
XOffset: 0
YOffset: 0
Outline:
[0, 0, 0, 255] Width: 1
Label:
Description:
Transparency: 0
Labeling Info:

HasZ: false

HasM: false

Has Attachments: false

HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText

Type ID Field:

Fields:
??? OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false )
??? Office ( type: esriFieldTypeString , alias: Forester , editable: true , nullable: true , length: 2 , Coded Values: [AL: Alpine] , [AU: Austin] , [CA: Carthage] , ...39 more... )
??? Forester ( type: esriFieldTypeString , alias: Forester , editable: true , nullable: true , length: 25 , Coded Values: [bcompton: Brittany Compton] , [bpope: Brian Pope] , [brobinson: Buster Robinson] , ...27 more... )
??? ActivityCode ( type: esriFieldTypeString , alias: ActivityCode , editable: true , nullable: true , length: 25 , Coded Values: [ATF: Tree Farm Program - Reinspections] , [ATN: Tree Farm Program - New Inspections] , [SLD: State Land Management (SF/GLO)] , ...4 more... )
??? DateComplete ( type: esriFieldTypeDate , alias: DateComplete , editable: true , nullable: true , length: 36 )
??? RecipientLast ( type: esriFieldTypeString , alias: Recipient - Last Name , editable: true , nullable: true , length: 50 )
??? RecipientFirst ( type: esriFieldTypeString , alias: Recipient - First Name , editable: true , nullable: true , length: 30 )
??? Acres ( type: esriFieldTypeDouble , alias: Acres , editable: true , nullable: true )
??? Program ( type: esriFieldTypeString , alias: Program , editable: true , nullable: true , length: 10 )
??? Underserved ( type: esriFieldTypeSmallInteger , alias: Underserved , editable: true , nullable: true , Coded Values: [0: No] , [1: Yes] )
??? Creator ( type: esriFieldTypeString , alias: Creator , editable: false , nullable: true , length: 255 )
??? CreationDate ( type: esriFieldTypeDate , alias: CreationDate , editable: false , nullable: true , length: 36 )
??? LastEditor ( type: esriFieldTypeString , alias: LastEditor , editable: false , nullable: true , length: 255 )
??? LastEditDate ( type: esriFieldTypeDate , alias: LastEditDate , editable: false , nullable: true , length: 36 )
Templates:
??? Name: ActivityPoint
Description:
Prototype:
Underserved: null
Office: null
Forester: null
ActivityCode: null
DateComplete: null
RecipientLast: null
RecipientFirst: null
Acres: null
Program: null
Drawing Tool: esriFeatureEditToolPoint

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

Sync Can Return Changes: false

Is Data Versioned: false

Supports Rollback On Failure: true

Edit Fields Info:
??? Creation Date Field: CreationDate
??? Creator Field: Creator
??? Edit Date Field: LastEditDate
??? Editor Field: LastEditor

Supported Operations:   Query   Apply Edits   Add Features   Update Features   Delete Features   Generate Renderer   Return Updates
0 Kudos
1 Solution

Accepted Solutions
ionarawilson1
Occasional Contributor III
Andy updated the code and it is working now 🙂

View solution in original post

0 Kudos
3 Replies
ionarawilson1
Occasional Contributor III
Andy updated the code and it is working now 🙂
0 Kudos
GaneshSolai_Sambandam
New Contributor III
Hi Inora
I have a Web GIS mapping application, wherein it has got a feature service  with many layers with point, line and polygons. What I wanted to do is to provide my users the edit each individual spatial layers and also allow them to edit attribute data of each individual layers and save them back to feature service which will then update the relevant feature class layer sitting on the geodatabase on the DBMS. I think you are the expert on this line, would be able to provide real world working samples so that I can use them on my
application. 



Looking forward your reply. Your help would be greatly appreciated.

Thanks
Ganesh
0 Kudos
ionarawilson1
Occasional Contributor III
Hi Ganesh, I am actually not an expert. I have just started learning Javascript. I am following the samples in the ESRI support page. Go to the editing menu on this page and you should find some samples:

https://developers.arcgis.com/en/javascript/jssamples/

Good luck!
0 Kudos