Thanks Martin, I didn't know about the tags<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 7:46 AM, Martin Morrison <span dir="ltr"><<a href="mailto:martin.morrison@edsi.com" target="_blank">martin.morrison@edsi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is incorrect.<br>
<br>
It works, we use it. Keep in mind that valid HTML has anchor tags, you need to include those also. E.g. <A HREF=<a href="http://myserver.com/whatever.pdf" target="_blank">http://myserver.com/whatever.pdf</a>>Click ME!</A> This of course will give you the words "Click Me!" as a clickable hyperlink.<br>
<br>
Martin Morrison<br>
Application Engineer<br>
Engineering Design Systems, Inc.<br>
3780 Peters Creek Rd Ext SW<br>
Roanoke, VA 24018<br>
<a href="tel:540.345.1410" value="+15403451410">540.345.1410</a><br>
<a href="http://gis.edsi.com" target="_blank">gis.edsi.com</a><br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Ryan Northcott<br>
Sent: Thursday, June 28, 2012 6:48 AM<br>
To: MapGuide Users Mail List<br>
Subject: Re: [mapguide-users] Hyperlink in Selection panel<br>
<br>
If you populate the data as a link the properties panel won't render the data as a hyperlink. Just text.<br>
<br>
The recommendation to modify the template files and code behind JavaScript is the best option. Just make sure to create backups of any files you change!<br>
<br>
<br>
- sent via mobile iOS5<br>
<br>
On 2012-06-27, at 9:10 PM, Martin Morrison <<a href="mailto:martin.morrison@edsi.com">martin.morrison@edsi.com</a>> wrote:<br>
<br>
> Why not just prepopulate the data with valid HTML?<br>
><br>
> Martin'<br>
><br>
><br>
> ________________________________<br>
> From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a><br>
> [<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>] on behalf of GIS4U<br>
> [<a href="mailto:johnniegis@gmail.com">johnniegis@gmail.com</a>]<br>
> Sent: Wednesday, June 27, 2012 5:09 PM<br>
> To: MapGuide Users Mail List<br>
> Subject: Re: [mapguide-users] Hyperlink in Selection panel<br>
><br>
> 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:<br>
><br>
> var testStr =<br>
> '<a href="http://www.myserver.com/townshipplans/files/TOWNSHIP-LINK/" target="_blank">http://www.myserver.com/townshipplans/files/TOWNSHIP-LINK/</a>' +<br>
> (+properties[i].value) + '.pdf';<br>
><br>
> and then fill the value in the table to that variable wrapped in an anchor tag.<br>
><br>
> Hope that helps,<br>
> Jonathon<br>
><br>
> On Wed, Jun 27, 2012 at 10:09 AM, elliott17 <<a href="mailto:elliottd@ae.ca">elliottd@ae.ca</a><mailto:<a href="mailto:elliottd@ae.ca">elliottd@ae.ca</a>>> wrote:<br>
> I realize this topic has been discussed before but I cannot find a solution.<br>
><br>
> Is there a way of adding a hyperlink to the selection panel. I want<br>
> to be able to call a report page (asp or pdf or a generic web page). I<br>
> can get a report page to open using the URL feature for a layer when<br>
> the object is hovered over.<br>
><br>
> MGOS 2.2 running a fusion layout IIS 7 on Server 2008<br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://osgeo-org.1560.n6.nabble.com/Hyperlink-in-Selection-panel-tp498" target="_blank">http://osgeo-org.1560.n6.nabble.com/Hyperlink-in-Selection-panel-tp498</a><br>
</div></div>> 4293.html Sent from the MapGuide Users mailing list archive at<br>
<div class="HOEnZb"><div class="h5">> Nabble.com.<br>
> _______________________________________________<br>
> mapguide-users mailing list<br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><mailto:<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
><br>
> _______________________________________________<br>
> mapguide-users mailing list<br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br>