Select to view content in your preferred language

Enhanced Search Widget version 2.5.1.2 - issue with hyperlinks

660
4
Jump to solution
02-10-2012 10:50 AM
BoCastillo
Deactivated User
I'm using Robert's Enhanced Search Widget and I'm having issues with hyperlinking in both the "Search Results" and the "Fixed Data Grid". Ironically, the "popup" from the search results works perfectly fine.

1) In the "search results" when I click on the hyperlink icon it usually does nothing. If I click zoom to the record, then click the hyperlink icon, it will then hyperlink to the appropriate external web page. It is very unpredictable beyond that.

2) I'm using a fixed datagrid and the hyperlink creates is at the end of the fields. The link that is created is incorrect. Instead of being something similar to "http://www.mysite.com/search_pin=123000001", it will create a local link such as "file:///C:/Flex_2.5/FlexViewer_Internet/bin-debug/123000001". Also, is there a way to rearrange the hyperlink field to be the first field displayed in the datagrid?

Any ideas?

Thanks,
Bo
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Bo,

   The first problem is an issue with the Flex SDK you are building against. You need to be using the Adobe Flex SDK 4.1 which is the one that the Flex Viewer team uses in their build you are likely using 4.5 or higher.

Number 2 As far as rearranging the position of the link field the simple answer is no and rearraging it position in the grid would not help you anyway. It looks like you are getting the "file:///C:/Flex_2.5/FlexViewer_Internet/bin-debug/123000001" because you are not setting the link prefix up correctly or you are not setting it at all.

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Bo,

   The first problem is an issue with the Flex SDK you are building against. You need to be using the Adobe Flex SDK 4.1 which is the one that the Flex Viewer team uses in their build you are likely using 4.5 or higher.

Number 2 As far as rearranging the position of the link field the simple answer is no and rearraging it position in the grid would not help you anyway. It looks like you are getting the "file:///C:/Flex_2.5/FlexViewer_Internet/bin-debug/123000001" because you are not setting the link prefix up correctly or you are not setting it at all.
0 Kudos
BoCastillo
Deactivated User
Thanks Robert!

Changing the SDK from 4.5 to 4.1 fixed issue one. I did have something set wrong in the link prefix/suffix.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bo,

   I am trying to see what the issue of the SDK version is with this widget and just need to ask some questions:

  1. When you say SDK 4.5, you really mean 4.5 or is it 4.5.1

  2. What browser were you using when you could not click on the link icon in the results?

0 Kudos
BoCastillo
Deactivated User
Bo,

   I am trying to see what the issue of the SDK version is with this widget and just need to ask some questions:

  1. When you say SDK 4.5, you really mean 4.5 or is it 4.5.1

  2. What browser were you using when you could not click on the link icon in the results?



Robert,

According to Flash Builder it gives me the options for the following SDK's (once I installed 4.1.0).

4.5.0
4.1.0
3.6.0

The browser I'm using is FireFox 10.0.

Thanks,
Bo
0 Kudos