I am using creating a mobile application and using layerInfoWindowRenderers for layers to populate infowindows. The layers have coded domain values for some fields that I would like to use. I have not found a way to access the coded domain fields for feature layers within a dynamic or tiled service. Using the {data.xyz} tags gets me the code for the feature but I want to get the description of the coded value. Any help would be greatly appreciated.Below is the code I use within the ESRI:MAP to call the infoWindowRendered:<esri:ArcGISTiledMapServiceLayer id="Water" url="Tiled service url removed to post"> <esri:layerInfoWindowRenderers> <esri:LayerInfoWindowRenderer id="Water36" layerId="36" infoWindowRenderer="components.infowindows.WaterValveInfoWindow"/> </esri:layerInfoWindowRenderers> </esri:ArcGISTiledMapServiceLayer>
Below is the code for the WaterValveInfoWindow <?xml version="1.0" encoding="utf-8"?> <esri:LabelDataRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:esri="http://www.esri.com/2008/ags"> <s:VGroup gap="0" fontSize="20" fontFamily="Myriad Web Pro"> <s:Label text="Location: {data.Location}"/> <s:Label text="Valve Type: {data.Valve_Type}"/> <s:Label text="Number: {data.Survey_Point}"/> <s:Label text="Elevation: {data.Elevation}"/> </s:VGroup> </esri:LabelDataRenderer>