Select to view content in your preferred language

FeatureLayer not showing in EditWidget

1620
14
12-20-2010 05:45 AM
RichardHolloway
Emerging Contributor
I have my Feature service set up.  I have given edit permissions to the service.  The mapservice is setup as a operational layer.  Do I also add another layer with the featureservice or do I add it as a layer in the Edit Widget?  Not sure what the step by step instructions are on this part.
Tags (2)
0 Kudos
14 Replies
RichardHolloway
Emerging Contributor
Has anyone even done one of these?????
0 Kudos
AniketWani
Esri Contributor
You need to add feature service not map service in operational layer section, to make it work with edit widget.

Refer to Edit widget sample http://help.arcgis.com/en/webapps/flexviewer/live/?config=config-edit.xml and config file
http://help.arcgis.com/en/webapps/flexviewer/live/config-edit.xml

            <layer label="HomeLand Security Incident Points" type="feature" visible="true"
                   info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_IncidentPoints.xml"
                   url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/0"/>

0 Kudos
RichardHolloway
Emerging Contributor
Yep,
Have that already.
<layer label="editfeature" type="feature" visible="false" alpha="1"
                  url="http://myserver/arcgis/rest/services/featureSNG/FeatureServer/0"/>
0 Kudos
RichardHolloway
Emerging Contributor
Been trying to figure out whats wrong all day and still no go.  Any ideas?
0 Kudos
AniketWani
Esri Contributor
Try to capture the requests for errors using firebug / fiddler when you open the edit widget.
Also if can post the config files, config.xml as well as editWidget.xml then that will helpful to debug.
0 Kudos
RichardHolloway
Emerging Contributor
I will try that.  In the mean time here is my config.xml and editwidget.xml files in the .zip.  I appreciate any help you can give me as I am at a standstill.
0 Kudos
RichardHolloway
Emerging Contributor
I am not capturing anything in FireBug.  Is there anyone out there????
0 Kudos
RichardHolloway
Emerging Contributor
You do know if there is no template showing I do not get anything in firebug right?  Thats my issue is no templates are showing.
0 Kudos
AniketWani
Esri Contributor
You might want to double check the feature service. Where it is editable or not?
0 Kudos