Solved! Go to Solution.
Nadeem,
How big is the file? If it is small enough to email then by all means send it to me, my email address is the same as my username for this forum. I will not be able to look at it till later next week though.
Regards
Anthony
<fields all="true" />
<layers onlythese="true"> <layer> <name>Elevation</name> <fields all="false"> <field name="Pixel Value" alias="NAVD88 (m)" numberformat="2|,|." /> </fields>
All,
I just need to interject that you need to be careful not to confuse attributes between my widgets. The <fields all="true" /> is from the eSearch widget and not the Identify widget. There is no code what so ever in the Identify widget that uses all="true" in the fields element. 😉
Nadeem,
I published your data using 9.3.1 on our server and tested the identify widget which returned no result. Using firebug in Firefox I examined the request that was getting sent and the response. It seems that the server does not like the spatial reference details that it is being sent and is returning an error.
The solution I found was to put the attribute wkid="29900" in the map tag in the main config file to force the application to use the correct spatial reference.
All I had set in the identify tool was excludebasemaps set to false and <fields all="true" />. This returned the correct pixel value.
I must add this was done with v2.5 and server 9.3.1
Regards
Anthony
<widget label="Identify" left="430" top="80" height="150" icon="assets/images/i_info.png" config="widgets/Identify/IdentifyWidget_1.xml" url="widgets/Identify/IdentifyWidget.swf"/>