uniquevalsfromfield="summary_DESG_AREA "
<layer> <definitionexpression></definitionexpression> <enableexport>false</enableexport> <enableprintgrid>true</enableprintgrid> <name>Traffic Cameras</name> <url>http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2</url> <expressions> <expression alias="Traffic Camera Description" textsearchlabel="Search Traffic Cameras by Location..."> <values> <value prompt="Example: I-71" userlist="I-71,I-64">upper(DESCRIPTION) LIKE upper('[value]%')</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select Traffic Cameras</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <titlefield>DESCRIPTION</titlefield> <fields all="false"> <field name="DESCRIPTION" alias="Description" gridfield="true" /> <field name="URL" alias="Show Image" hyperlinkgridfield="true" hyperlinkaliastext="Get Traffic Image" visible="false" /> <field name="ONLINE" alias="Online" gridfield="true" gridfieldonly="false" /> <field name="LAST_UPDATED" alias="Last Updated" gridfield="true" gridfieldonly="false" dateformat="MM/DD/YYYY" useutc="true" /> </fields> <links> <link alias="View Traffic Photo" diablelinksifnull="true"> <![CDATA[{URL}]]> <icon><![CDATA[assets/images/i_camera.png]]></icon> </link> </links> <zoomscale>5000</zoomscale> <queryattachments>false</queryattachments> </layer>
var i:int = (cboLayerText.selectedIndex < 0) ? 0 : cboLayerText.selectedIndex;
if (i == -1){
if(configSearchText[0].layer){
queryLayer = configSearchText[0].layer;
}else{
queryLayer = configSearchText[0].table;
}
}else{
if(configSearchText.layer){
queryLayer = configSearchText.layer;
}else{
queryLayer = configSearchText.table;
}
}
if (queryLayer && !queryLayer.loaded){
queryLayer.addEventListener(LayerEvent.LOAD, queryLayer_loadHandler);
function queryLayer_loadHandler(event:LayerEvent):void
{
popCBwithUnique(targetField, sItemVal);
}
return;
}
this.cursorManager.setBusyCursor();
the related table comes up but nothing is populated in the table.are you talking about the floating or fixed datagrid or are you talking about event before that and the "Choose Relate" window?