Thanks Martin, I didn't know about the tags On Thu, Jun 28, 2012 at 7:46 AM, Martin Morrison <martin.morri...@edsi.com>wrote:
> This is incorrect. > > It works, we use it. Keep in mind that valid HTML has anchor tags, you > need to include those also. E.g. <A > HREF=http://myserver.com/whatever.pdf>Click > ME!</A> This of course will give you the words "Click Me!" as a clickable > hyperlink. > > Martin Morrison > Application Engineer > Engineering Design Systems, Inc. > 3780 Peters Creek Rd Ext SW > Roanoke, VA 24018 > 540.345.1410 > gis.edsi.com > > -----Original Message----- > From: mapguide-users-boun...@lists.osgeo.org [mailto: > mapguide-users-boun...@lists.osgeo.org] On Behalf Of Ryan Northcott > Sent: Thursday, June 28, 2012 6:48 AM > To: MapGuide Users Mail List > Subject: Re: [mapguide-users] Hyperlink in Selection panel > > If you populate the data as a link the properties panel won't render the > data as a hyperlink. Just text. > > 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! > > > - sent via mobile iOS5 > > On 2012-06-27, at 9:10 PM, Martin Morrison <martin.morri...@edsi.com> > wrote: > > > Why not just prepopulate the data with valid HTML? > > > > Martin' > > > > > > ________________________________ > > From: mapguide-users-boun...@lists.osgeo.org > > [mapguide-users-boun...@lists.osgeo.org] on behalf of GIS4U > > [johnnie...@gmail.com] > > Sent: Wednesday, June 27, 2012 5:09 PM > > To: MapGuide Users Mail List > > Subject: Re: [mapguide-users] Hyperlink in Selection panel > > > > 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 <ellio...@ae.ca<mailto: > ellio...@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-tp498 > > 4293.html Sent from the MapGuide Users mailing list archive at > > Nabble.com. > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org<mailto:mapguide-users@lists.osgeo.org> > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users >
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users