4W WebMerge Tag Reference


[WM-AccessLink: fieldName]
[WM-AccessLink: fieldName base="url"]

[WM-AccessLink: Products base="http://www.fourthworld.com/products/"]


The [WM-AccessLink] tag is used to insert the contents of the field specified in fieldName when that field data is in Microsoft Access Link type format.

Microsoft Access supports a field type called "link" that when exported contains the display text, link URL, and optional link title text separated by "#" characters, e.g.:

  Fourth World#http://www.fourthworld.com/index.html##4W Home Page

With the WM-AccessLink tag WebMerge will convert that data to:

  <a href="http://www.fourthworld.com/index.html"
  title="4W Home Page">Fourth World</a>

Using the base attribute
The optional base attribute allows you to specify a partial URL that will be prepended to the URL in the field data. For example, if your link data contains "products/webmerge.html" and your base value is "htp://www.fourthworld.com", the link will be generated as:

  <a href="http://www.fourthworld.com/products/webmerge.html">
  Fourth World</a>

Note that the portions of the field data used for both the link label and title text are converted to HTML. The conversion changes all non-ASCII characters to their corresponding character entity according to the ISO 8859-1 standard. For example, the character "<" becomes "&lt;".

First introduced in version 2.3