Select to view content in your preferred language

Identify Widg 3.0  Shows Link URL in popup, Not ID results link icon

1264
5
Jump to solution
08-16-2012 11:22 AM
MattBorden
Deactivated User
Using:
Identify Widget 3.0
Internet Explorer 9   
Windows 7
FlexViewer 3.0
Apache/Tomcat

Problem:
After migrating from Identify Widget 2.4 to 3.0,
the Link Icon won't appear next to the Identify window field results, the popup URL link does appear (see attached word doc graphic)

Things I've tried:

  • tested in Chrome and Firefox browsers: problem persists in those browsers as well

  • Cleared the REST services CACHE

  • tried using <fields all="false" >  AND <fields all="true" >


For complete code: see attached txt files
Sample Code:
    <layers onlythese="true">
      <layer>

        <name>Parcel</name>

        <fields all="false" >
          <field name="PARCEL"  />
          <field name="parcel_id" alias="ID" />
          <field name="prop_locat" alias="Address" />
          <field name="parcel_acr" alias="Acreage" />   
          <field name="own_name" alias="Owner" />
          <field name="own_addr" alias="Owner Address" />
        </fields>
  
        <links>
<link includeinresults="false" field="PARCEL" alias="More Parcel Info Click Here" tooltip="More Parcel Info Click Here" >
    
                <linkprefix> http://gis.slco.org/ServLookup/index.htm?lu=PDS&parcel=  </linkprefix>                   
                <linksuffix></linksuffix>
    
                <iconfield></iconfield>
    <iconprefix></iconprefix>
    <iconsuffix></iconsuffix>
         
</link>
        </links>
     
<zoomscale>15000</zoomscale>
            <forcescale>true</forcescale>

      </layer>
  </layers>
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Matt,

   Hmm... What happens if you manually specify a icon in the link?
    <layer>         <name>Parcel</name>         <fields all="false" >           <field name="PARCEL"  />           <field name="parcel_id" alias="ID" />           <field name="prop_locat" alias="Address" />           <field name="parcel_acr" alias="Acreage" />               <field name="own_name" alias="Owner" />           <field name="own_addr" alias="Owner Address" />          </fields>             <links>         <link includeinresults="false" field="PARCEL" alias="More Parcel Info Click Here" tooltip="More Parcel Info Click Here" >         <linkprefix> http://gis.slco.org/ServLookup/index.htm?lu=PDS&parcel= </linkprefix>                             <linksuffix></linksuffix>             <iconfield></iconfield>         <iconprefix></iconprefix>         <iconsuffix>assets/images/i_lego.png</iconsuffix>         </link>     </links>     <zoomscale>15000</zoomscale>     <forcescale>true</forcescale>     </layer>

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Matt,

   Your issue is that you are telling it not to include that in the results.

<link includeinresults="false"

Should be:
<link includeinresults="true"


Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic:
0 Kudos
by Anonymous User
Not applicable
Original User: mb1471

Thanks for the feedback
I did switch the include link tag to true as follows
<link includeinresults="true"

The link field itself now appears in the ID field results window,
but the link icon which the user clicks to open the web resource
is still not displaying (see attached graphic)

Any thoughts, Thanks Matt
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Matt,

   Hmm... What happens if you manually specify a icon in the link?
    <layer>         <name>Parcel</name>         <fields all="false" >           <field name="PARCEL"  />           <field name="parcel_id" alias="ID" />           <field name="prop_locat" alias="Address" />           <field name="parcel_acr" alias="Acreage" />               <field name="own_name" alias="Owner" />           <field name="own_addr" alias="Owner Address" />          </fields>             <links>         <link includeinresults="false" field="PARCEL" alias="More Parcel Info Click Here" tooltip="More Parcel Info Click Here" >         <linkprefix> http://gis.slco.org/ServLookup/index.htm?lu=PDS&parcel= </linkprefix>                             <linksuffix></linksuffix>             <iconfield></iconfield>         <iconprefix></iconprefix>         <iconsuffix>assets/images/i_lego.png</iconsuffix>         </link>     </links>     <zoomscale>15000</zoomscale>     <forcescale>true</forcescale>     </layer>
0 Kudos
by Anonymous User
Not applicable
Original User: mb1471

that fixed it, it's working
Thanks Matt
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Matt,

   The need to specify the link icon will be fixed in the next version.
0 Kudos