Solved! Go to Solution.
Hi all,
I have added the labeling option to my feature class by using ArcMap and I can see the labels of my features (snapshot 2). However, I cannot see them from my flex application (snapshot1).
I am wondering how I could fix this issue thank you.
Hello Alaeddine,
Did you add your service to Flex viewer as "feature" type? If so, I have the same issue with mine and looks like it's inherent to ArcGIS service of that type and can't be solved :(. You have to switch to "dynamic" type to see labels. See my post here.
If you add the layer as type="wms", then the TOC will only show the single layer and not the sub-layers.
The URL is not correct and all attribute values need to be quoted.
Try:
<layer label="Counties" type="wms" visible="false" alpha="1.0"
url="http://t20dohb05l27506/ArcGIS/services/WVAdMap/OutdoorMap/MapServer/WMSServer"
visiblelayers="3"/>