I cant seem to get to the fields in my joined (or related) table to show up. Not sure I have the syntax correct.
Do you have to have two layer blocks, one for the master layer and one for the joined layer?
Or do you need to qualify the field names with which table they are coming from. (Doesnt look like you did this, but it would make sense if you needed to.)
Just to be clear, the "_" in the field name only seem to be a problem with the alias and link field. if you just have an alias field with an "_" in it and you want to simply display it, then it works fine.
Stephen
David,
that is what I was afraid of... The info popup that you want to have the alias for is not part of the identifyWidget code it is part of the FlexViewer base code.
//on fault private function onFault(event:FaultEvent):void { if(event.fault.faultDetail != "Identify operation not supported on this service") showMessage(event.fault.faultDetail, false); }
Georgianna,
1. have you set the onlythese="false"
2. Here is the code to be changed://on fault private function onFault(event:FaultEvent):void { if(event.fault.faultDetail != "Identify operation not supported on this service") showMessage(event.fault.faultDetail, false); }
Jon,
I am working on that issue right now. I am thinking it is because you are using a prefix and/or suffix the link is never and empty string so you always get the link whether it is null or not. Can you verify for me that some of your fields that the link is set to do actually display with a null in them when you are looking at them in ArcMap?
<?xml version="1.0" ?> <layers onlythese="true"> <layer> <name>Marine ERAs</name> <fields>EAA_MARINE,MARINE_STA,ERA_REPT</fields> <linkfield>ERA_REPT</linkfield> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> <zoomscale>9244648.8686180003</zoomscale> <forcescale>true</forcescale> </layer> </layers>