Select to view content in your preferred language

Problem with links in Identify Widget 3.6.7 for Flex

3295
4
Jump to solution
10-29-2014 11:24 AM
BarnabyRockwell
Deactivated User

Hi Robert,

I'm having trouble configuring links with current ID widget version.

I have a published polygon feature class in a gdb which has a variety of fields, including three which contain text urls to pdf files on the web.  I want to configure the ID widget so that the ID results contain links (with icons) to the files.  For each polygon in the feature class, the three link fields are not always populated with a link, so some polygons will have 3 links, some 2, and some 1.  At least one link is present for each polygon.  Fields with no links have <Null> value in the gdb.

For polygons with links for all three fields, the links display properly in the ID widget results (see id_3link_good.jpg).

However, for polygons with no links in either of the first two link fields, no links display (see id 1link_bad.jpg).  How do I get the link to be properly displayed in this case?

Here is the pertinent widget xml:

<layer>
<name>Hyperlinked WSA polygons - Nevada</name>
<id>0</id>
<url>http://server/ArcGIS/rest/services/usmin_demo/wsa_overview_web/MapServer</url>
<fields>
<field name="wsa_name" alias="Wilderness Study Area"/>
<field name="high_res_min" alias="Resources (high res)"/>
<field name="mod_res_min" alias="Resources (moderate res)"/>
<field name="usgs_pub" alias="USGS report"/>
<field name="usbm_pub" alias="USBM report"/>
<field name="pub_other" alias="Other report"/>
<field name="usgs_pdf_link" popuponly="true" alias="USGS report link"/>
<field name="usbm_pdf_link" popuponly="true" alias="USBM report link"/>
<field name="pub_other_pdf" popuponly="true" alias="Other report link"/>
</fields>
<links>
<link includeinresults="true" field="usgs_pdf_link" alias="USGS report link" tooltip="Link to USGS report" popuplinktype="text">
<linkprefix/>
<linksuffix/>
<iconfield/>
<iconprefix/>
<iconsuffix/>
</link>
<link includeinresults="true" field="usbm_pdf_link" alias="USBM report link" tooltip="Link to USBM report" popuplinktype="text">
<linkprefix/>
<linksuffix/>
<iconfield/>
<iconprefix/>
<iconsuffix/>
</link>
<link includeinresults="true" field="pub_other_pdf" alias="Other report link" tooltip="Link to other report" popuplinktype="text">
<linkprefix/>
<linksuffix/>
<iconfield/>
<iconprefix/>
<iconsuffix/>
</link>
</links>
<zoomscale>2000</zoomscale>
<forcescale>true</forcescale>
</layer>

Let me know if you need more info.

Thanks in advance,

Barnaby

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Barnaby,

  I found the issue and have it fixed in version 3.6.8, which is now available.

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

Barnaby,

   I can't say that I have tested your exact scenario. I will have to find time to create a service with three link fields and have some of them null. I am pretty busy so it may take some time.

0 Kudos
BarnabyRockwell
Deactivated User

Ok, thanks, Robert!  If you want, I could send you the gdb...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Barnaby,

  I found the issue and have it fixed in version 3.6.8, which is now available.

0 Kudos
BarnabyRockwell
Deactivated User

Robert, you are the best.  3.6.8 works perfectly.  Excellent job! 

0 Kudos