Changing how URLs Display in MapGuide Flexible Layouts

by

For those of you who don’t want to display the full URL as the Link in MapGuide Flexible Web Layouts.

Below is an example of a URL with HTML code added with MapGuide Studio Expression Builder to change http://www.co.liberty.tx.us/ to Visit Liberty County Site

Tooltip

MapGuide Studio Expression Builder was used along with some HTML Code.

Concat ( Concat ( ‘<a href=‘ , URL ) , ( Concat ( ‘ target="_blank">Visit ‘ , ( Concat ( COUNTY , ‘ County Site</a>‘ )))))

Tooltip_Studio

Resulting link as follows:

<a href="http://www.co.liberty.tx.us/" target="_blank">Visit Liberty County Site</a>

Visit http://www.w3schools.com/tags/tag_a.asp for info on HTML Tags

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: