Hey Matt, I'd recommend just go with editing the .xml. The App. Builder is really for people that are not comfortable with editing the .xml, and given that you're a GIS Coordinator and GISP, you should have no issue with that. Your life will be much better just getting the job done in the .xml vs. using a GUI.
Your issue is not the App Builder program it is your use and understanding of how to add operational layers. If you look in my attached graphic you will see when I choose a map service and chick on a map service (represented by the folder icon, number one in the image) and then click the Include button. It will add the Whole map service as a dynamic layer (that supports the drawing of label that are setup in ArcMap). You you double click the folder then you get a list of individual layers of that map service and when you choose one of those layers and click include that LAYER of the Map Service gets add and is added to the map as a feature layer (which does not support labeling). So just click the map service folder (not choosing individual layers) and you will be able to add dynamic layers to the map.[ATTACH=CONFIG]22959[/ATTACH]
OK, I finally figured out the solution to this question, and yes it will pick up the lablels you have specified on your GIS server. I encountered this problem until I changed the type from tiled,or feature, to "dynamic" and then just specify the mapserver url, not a specific layer number for the layers map server. So it would look like the following:<layer label="Your Layer" type="dynamic" visible="false" alpha ="0.7" url="http://gis.srh.noaa.gov/ArcGIS/rest/services/SPC_Convective_outlooks/MapServer"/>Good luck
I'd also like to follow up on cub_fan_dan's post about the labeling capabilities. Basically, I'm in the same boat. We're trying to transition from the .NET interface to Flex using the Flex Builder application. We're also running into the issue of dynamic labels. I've published my MXD from ArcGIS for Desktop 10.1 with the labels turned on with scale dependencies, but they don't draw in the Flex app. Based on this thread, I altered the config.xml and set my layer type to "dynamic" which is recognized when you re-open the app in Flex Builder, but then it locks up the Builder when you attempt to edit this reclassified dynamic layer.I'm really impressed with the Flex Builder, but somewhat shocked that such a rudimentary and critical function such as labeling isn't simplified in this tool. Hopefully this thread will shed some more light on adding these functions directly into the Flex Builder interface.Thanks!-Matt
<layer label="Oil Spill" type="dynamic" visible="true" url="myurl" visiblelayers="0,1,4" />
<layer label="HomeLand Security Incident Points" type="dynamic" visible="true" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/MapServer"/> <layer label="HomeLand Security Incident Points" type="feature" visible="true" info="widgets/InfoTemplates/SimpleInfoWinWidget.swf" alpha="0" infoconfig="widgets/InfoTemplates/IWT_IncidentPoints.xml" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/0"/>
Could you also send the url of the first basemap layer thats added to the map?That layer determines the spatial reference of the map.Also if you could send the HTTP REST request/response by capturing through firebug / fiddler/ httpfox etc.
Are you using Time widget?Is it possilble for you to share your config file?
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.