Select to view content in your preferred language

AttRelateInfoWinWidget and aliases

1204
3
02-22-2011 04:09 AM
CaussinDavid
Emerging Contributor
Hi everybody,

I use without problem the widget AttRelateInfoWinWidget.

I use it for different layers (3)

For 2 of them no problem, but for the last one the aliases from the mxd are not shown ....

I could not understand why.

here is the code of the xml that don't work

<?xml version="1.0" ?>
<configuration>
    <fields>Nom_FR,Lien_url,Validite,Date_arr_1,Remarques</fields>
    <titlefield>Nom_FR</titlefield>
    <links>
     <linkfield icon_or_text_or_img="text" icon="" linkalias="Lien - Link" linkprefix="" linksuffix="">Lien_url</linkfield>
    
    </links>
    <datefields></datefields> <!-- field in milliseconds -->
    <zoomscale>5000</zoomscale>
    <csvseparator>,</csvseparator>
   
    <labels>
     <csvdefaultname>Related Records</csvdefaultname>
  <exportbtnlabel>Export...</exportbtnlabel>
  <export2csvoptionlabel>Export to CSV...</export2csvoptionlabel>
  <export2txtoptionlabel>Export to Txt...</export2txtoptionlabel>
    </labels>
</configuration>

Is it possible that the problem come from the mxd file??

Thanks in advance
Tags (2)
0 Kudos
3 Replies
CaussinDavid
Emerging Contributor
If i add the <layername> tag it dont work ..... no field are displayed... 😞
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
David,

   The layer name is definitely required. Are you entering the same name that is entered as the label of the layer in the main config.xml?
0 Kudos
CaussinDavid
Emerging Contributor
hi,  It was the problem .

I have search 4-5 hours Grrrrr
0 Kudos