Select to view content in your preferred language

No Editable Layers

2627
6
11-03-2011 08:02 AM
ErikaStanley
Emerging Contributor
I am trying to use the edit widget but it doesn't recognize any of my map layers.  I've tried setting them up as feature layers but that didn't work.  Is there something I'm missing?
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Erika,

   You have to publish your map with Feature Access enabled so that it created a Map Service and a Feature Service in your ArcGIS Server.
0 Kudos
ErikaStanley
Emerging Contributor
I tried setting up the feature service and then pointed to the features in the main config file but the layers didn't show up in the map at all.  Here is my code:
       <operationallayers>
         
          <layer label="Comments and Unmet Needs" type="dynamic" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/MapServer/0"/>
          <layer label="CNMS Streams" type="dynamic" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/MapServer/1"/>
          <layer label="DFIRM Status" type="dynamic" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/MapServer/2"/>
          <layer label="Base Flood Elevations" type="dynamic" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/MapServer/3"/>
          <layer label="Base Flood Approximations" type="dynamic" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/MapServer/4"/>
          <layer label="Special Flood Hazard Area Zones" type="dynamic" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/MapServer/5"/>
        </operationallayers>Any suggestions?
0 Kudos
ErikaStanley
Emerging Contributor
Does it matter if the data is versioned or not?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Erika,

   Yes the data should be versioned.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Erika,

   Also it would look like this in the main config.xml

<layer label="Comments and Unmet Needs" type="feature" visible="true"
                   url="http://gis.kda.ks.gov/ArcGIS/rest/services/mappingneeds/FeatureServer/0"/>
0 Kudos
ErikaStanley
Emerging Contributor
That worked.  Thanks!
0 Kudos