Select to view content in your preferred language

Identify widget v.2.2.2 FV2.2

670
5
03-11-2011 05:53 AM
francescodi_vito
Deactivated User
Hy guys,
i'm trying to change the fields that are displayed when i run the identify.So in the xml file i'm setting for each layers the fields that i want, but when i run my application and i use the identify i don't see the field that i wrote in xml file, but i see always layer's name. Why?
Tags (2)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Francesco,

   If I remember how I developed it you have to use the field aliases in the XML.
0 Kudos
francescodi_vito
Deactivated User
Hi Robert,
Yes i read the pdf file that explain the configuration, but if i use the ALIAS i see in the gridfield only the name of layer. I tried to use not the alias but the field's name but it's the same.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Francesco,

   Here is an example of what the setup for a layer looks like:
<layer>
   <name>Weather Observations</name>
   <fields>Icon_used,URL,Type,OBJECTID</fields>
   <linkfield>URL</linkfield>
   <linkprefix></linkprefix>
   <linksuffix></linksuffix>
   <iconfield>Icon_used</iconfield>
   <iconprefix>http://gislap134/FlexViewer2.2/assets/images/i_</iconprefix>
   <iconsuffix>.png</iconsuffix>
   <zoomscale>15000</zoomscale>
   <forcescale>true</forcescale>
  </layer>

The name element has to be the same as the label you gave that layer in the main config.xml
0 Kudos
francescodi_vito
Deactivated User
Thanks Robert,
I downloaded the widget again and it's ok.Maybe the file was corrupted
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   A new version of the Identify Widget is now available.

* 2.2.3 - Identify by point/line/extent/polygon are all now supported
- Info window will appear at the center of identified geometry now if returngeometryforzoom is set to true in xml file.
if returngeometryforzoom is true, when you mouse over a record the geometry for that particular record is drawn using the symbology defined in the xml
- The symbology used by the draw tools is now user defined in the xml
- Fixed an issues with link icon if prefix or suffix is supplied and a empty field.
0 Kudos