[mapguide-users] Hyperlink in Selection panel

GIS4U johnniegis at gmail.com
Wed Jun 27 14:09:47 PDT 2012


We modified the propertyctrl.templ (on a site by site basis) to look for a
specific property name (ie 'Township') and if it finds it, set the value of
a variable to something like:

var testStr = 'http://www.myserver.com/townshipplans/files/TOWNSHIP-LINK/'
+ (+properties[i].value) + '.pdf';

and then fill the value in the table to that variable wrapped in an anchor
tag.

Hope that helps,
Jonathon

On Wed, Jun 27, 2012 at 10:09 AM, elliott17 <elliottd at ae.ca> wrote:

> I realize this topic has been discussed before but I cannot find a
> solution.
>
> Is there a way of adding a hyperlink to the selection panel.  I want to be
> able to call a report page (asp or pdf or a generic web page). I can get a
> report page to open using the URL feature for a layer when the object is
> hovered over.
>
> MGOS 2.2 running a fusion layout IIS 7 on Server 2008
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Hyperlink-in-Selection-panel-tp4984293.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20120627/7c24f44f/attachment.html>


More information about the mapguide-users mailing list