Select to view content in your preferred language

Edit Widget and Editable Layer

2248
4
03-08-2013 06:42 AM
MichaelVolz
Esteemed Contributor
To All FlexViewer Users:

I have created an ArcGIS Server mapservice with Feature Access capability so I can make edits to a SDE layer from a web application.  Once this service has been created, I can see both a mapserver and featureserver service at the REST endpoint.  In the main config.xml I add the featureserver service to the Flex Viewer app with visible = "true".

Unfortunately, when I open the Flex Viewer app, this editable layer is not in fact visible.  Is there a step in the setup of this project that I am missing?
Tags (2)
0 Kudos
4 Replies
AnthonyGiles
Honored Contributor
Michael

Have you given permissions for a user to edit in your database?

Regards

Anthony
0 Kudos
MichaelVolz
Esteemed Contributor
Yes, I had that setup in SDE before I even created the mapservice that has feature access capability.
0 Kudos
AnthonyGiles
Honored Contributor
Your arcgis server needs permissions to your data, not just your sde account:

http://resources.arcgis.com/en/help/main/10.1/index.html#/Making_your_data_accessible_to_ArcGIS_Serv...

Regards

Anthony
0 Kudos
MichaelVolz
Esteemed Contributor
I made some modifications to my main config.xml file when I was specifying the feature server based on the last thread of the below post:

http://forums.arcgis.com/threads/72321-Adding-new-features-with-EDIT-WIDGET?highlight=edit+widget+fl...

Now the feature layer is displaying on the map and I can make edits to the feature service.
0 Kudos