I am haveing the same problem I am running ArcServer 10, ArcGIS 10, Flexviewer 2.3.1, Adobe Flash Builder 4. I downloadeed and did everything the Getting started instructions say to do for the uncompiled version of the viewer I got all my widgets to work but when I add an operational layer it shows up in the more tab of the map switcher but does not display here is my code:
<operationallayers>
<layer label="Parcels" type="dynamic" visible="false" alpha="1.0"
url="http://gisserver/HHGIS/rest/services/HH_GIS/MapServer/46"/>
</operationallayers>
After I add code to the flex project I save and build the project then go to run index.mxml and it comes up in a IE window and everything displays except my parcel layer. Any sugestions
Here's my current layer that I'm trying to get setup.
<layer label="CN Jurisdiction" type="dynamic" visible="true"
url="http://geodata.cherokee.org/ArcGIS/rest/services/Maps/CNBoundary/MapServer/0"/>
If you look at the service I can get it to show up as a JavaScript or ArcGIS.com map but can't seem to get it to show up in my flexviewer (http://geodata.cherokee.org/flexviewer). I'm not a programmer but I think I've got it entered right, just not sure where to go from here. Any ideas?
<layer label="Parcels" type="feature" visible="false" alpha="1.0" mode="snapshot" useamf="false" url="http://gis.richmondnc.com/ArcGIS/rest/services/RichmondMXD/RichmondAddTest/MapServer/5"> </layer>
That worked! I could have swore I tried that before but I've tried so many different things maybe I didn't. Good news is, it works now.
James,
You need to add the mode and useamf attributes to your layer element<layer label="Parcels" type="feature" visible="false" alpha="1.0" mode="snapshot" useamf="false" url="http://gis.richmondnc.com/ArcGIS/rest/services/RichmondMXD/RichmondAddTest/MapServer/5"> </layer>