Select to view content in your preferred language

eSearch/Identify Hyperlink issue

3108
12
Jump to solution
01-10-2014 07:23 AM
JayCarpenter
Deactivated User
App Versions: Flexviewer 3.5, eSearch 3.5.4, Identify Widget 3.5.1 (all compiled and flex app builder has not been used)

I have an issue with hyperlinking from the flexviewer that occurs on both the eSearch
and Identify widgets by Robert Scheitlin.  This post is focused on the eSearch Widget
but may be important to note that this issue occurs in the identify widget as well.

In the feature data/operational layer a field provides the folder path location (Sample: \\Machine2\structures\culverts\Folder)
The desired result is for the link to open windows explorer at the particular folder location defined in the field.
Both widgets work perfectly from the widget results window but not from the popup window.

I can control the problem by eliminating the popup links in Identify with <disablepopuplinks>
but in eSearch I used disableinpopups="true" in <link></link>.  This removes the troublesome link
but if I hover over the result in the datagrid the link shows up in the popup immediately.
If the link in the popup is clicked in either widget I get an IE page 404 error.

Error page details:  Requested URL: http//machine1:80/flexappfolder/machine2/strutures/culverts/folder
       Physical Path: D:\inetpu\wwwroot\flexviewer\flexappfolder\machine2\structures\culverts\folder

My flexviewer involves 2 machines on an intranet.
Machine1: Web server and location of flexviewer
Machine2: Hyperlinked Folders location (In machine1 webserver IIS 7 D:\inetpu\wwwroot\flexviewer\flexappfolder\machine2\structures is set as a virtual directory)

There are two scenarios that would solve my problem:
1. figure out how to get the popup link to work as it does in the results window
2. be able to disable the link in the popup even after hovering over the record in the datagrid.

Much appreciation for the wonderful service these widgets provide and the amazing support.

J-
Tags (2)
0 Kudos
12 Replies
RobertScheitlin__GISP
MVP Emeritus
Jay,

   So version 3.6.2 will address both of your issues, being able to use a UNC folder path in the url and having the disableinpopups tag NOT ignored by the datagrids popups. I will release this version soon. Thanks for the info to help me diagnose these issues.
0 Kudos
JayCarpenter
Deactivated User
Robert,

Wonderful!  Thank you again for your service to all of us.

Jay
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jay,

   Oh, let me qualify me statement about being able to use UNC patch in the links...

You have to do it the same way you are currently doing for esri OTB popups. Meaning that the link should look like this in the eSearchWidget.xml

            <links>
                <link alias="link" disablelinksifnull="true" disableinpopups="false">
                    <![CDATA[{URL}]]>
                    <icon><![CDATA[assets/images/i_folder.png]]></icon>
                </link>
            </links>


If you do not specify the icon then it will go the same old route in the code and do the HTML markup thing and they will still not work. But if you do specify the icon for the link it will first test if the actual link url is some type of image and if not it will look if the link icon is specified, if so then it will do like the OTB popups and add a PopUpMediaInfo for the link url.
0 Kudos