4W WebMerge Tags

WebMerge supports the following tags:

Data Insertion Tags

WM-Field

Inserts the contents of a field

WM-ImagePath

Inserts an image path

WM-Include

Inserts an external HTML page
WM-FieldInclude Inserts an external HTML page specified in field data

WM-Record

Defines the record portion of an index page
WM-AccessLink Processes link fields from Microsoft Access
WM-Wiki Processes simple Wiki code in a field
Conditional Tags

WM-If

Conditional generation of portions of a page
WM-IndexLabel Conditionally inserts field data on an index page
Navigation Tags

WM-LinkFirst

Link from a detail page to the first detail page

WM-LinkPrevious

Link from a detail page to the previous detail page

WM-LinkNext

Link from a detail page to the next detail page

WM-LinkLast

Link from a detail page to the last detail page

WM-LinkIndex

Link from a detail page to an index page

WM-LinkIndexFirst

Link from an index page to the first index page

WM-LinkIndexPrevious

Link from an index page to the previous index page

WM-LinkIndexNext

Link from an index page to the next index page

WM-LinkIndexLast

Link from an index page to the last index page
WebMerge Info

WM-CurrentRecordCount

The number of records in the source file

WM-CurrentRecordNumber

The number of the current record being processed
WM-IndexRecordNumber The number of the current record on an index page

WM-CurrentRangeStart

The start of the range of records on an index page

WM-CurrentRangeEnd

The start of the range of records on an index page
WM-GenDate The date the pages were generated

Note about tag prefixes for users of WebMerge 1.x:

Earlier versions of WebMerge used the prefix "FMP" for tags instead of "WM", to illustrate the similarities between WebMerge tags and those used in FileMaker Pro, a popular cross-platform database. In WebMerge 2.0 and later, the prefix was changed to "WM" to avoid confusion in those cases where the WebMerge implementation may vary from that of a similar tag in FileMaker Pro. Given that WebMerge generates static Web pages and FileMaker Pro creates them dynamically from the server, such differences are inevitable.

WebMerge 2.0 and later supports both prefix forms, but you are encouraged to use the "WM" form shown here for any new templates you create, as we anticipate deprecating support for the "FMP" form in a future release.