<layer> <name>Address</name> <fields>FIRSTNAME,LASTNAME,ADDRESS,STREETNO,STREET,CITY,STATE,ZIP</fields> <linkfield></linkfield> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> <zoomscale>15000</zoomscale> <forcescale>true</forcescale>
<widget label="Identify" left="330" top="80" preload="open" icon="assets/images/i_info.png" config="widgets/Identify/IdentifyWidget.xml" url="widgets/Identify/IdentifyWidget.swf"/>
I have added this identify widget to my map. I have added the widget to the widget container, compiled it and added my changes to the identifywidget.xml. My problem is when I use the widget and click something....it displays the result box with the layer it is pulling from and it also shows the field, however, there are no values?! Also, when the application first opens, the identify widget automatically open by default. Where do I change this to where it will not auto-launch the widget?!
Thanks,
Josh C.
Robert did a great job enhancing these widgets but sometimes things do not work because we miss a point in implementing them.
I also installed this widget, compiled and tried to use the Find tool but no results were returned. I get the message on the Widget Panel "Identify operation is not supported on this service", though Query and Find operations work fine.
Following is the Layer blocks in my xml. Everything else is same as in the original xml.
<layer>
<name>Water Quality Sampling Locations</name>
<fields>StationID,Project,Status,StreamName</fields>
<linkfield></linkfield>
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
nshaukat