Select to view content in your preferred language

SearchWidget v 2.5 - how to add multiple linkfields and not use default 'resultLink'

581
2
02-22-2012 05:30 AM
GeorgiannaStrode
Deactivated User
I am trying to add 6 linkfields that do not use the default 'resultLink' image but have links listed vertically, such as:

link1
link2
link3
etc.

I have done enough so that the 6 links are loaded but I can't figure out how to bypass the default 'resultLink'.  I am editing SearchResultItemRenderer.mxml and adding 'infoLink1', 'infoLink2', etc. but am receiving messages:
-cannot parse value from type Boolean from text '(searchResult.link != null)'

I notice that in the <mx:Image id="resultLink" ....  that there is no trouble parsing '(searchResult.link != null)' so I feel that the information is there, but there is something that I am missing.

Thanks in advance,
Georgianna
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Georgianna,

   You are still posting you Flex Viewer / Widget questions to the wrong forum. This is the Flex API forum.
Post all Flex Viewer / Widget questions to the Flex Viewer forum here:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex


You have not really provide enough information here... It is likely that you have not declared your additional link variables incorrectly in the SearchResults.as, this is just a guess though as you have not provided much to go one here.
0 Kudos
GeorgiannaStrode
Deactivated User
Sorry about the wrong forum.  Will repost over there.

Thanks
0 Kudos