HTML Export Merge Fields and Codes
To create your own merge template, use a "real" HTML editor (or WYSIWYG HTML editor).
But -- NOT MS Word !! Otherwise, chances are that your template won't produce the expected results. If you do use MS Word, save the file as Web page, filtered
Some free WYSIWYG HTML editor :
- Amaya
- Free Online Web Page Editor
- Nvu
- Kompozer
- BlockNote
- WizHtmlEditor
- IQ's built-in Doc pane
List of the "merge codes":
Code | Description |
{DataBLK} ... {/DataBLK} | Defines the start and end of the HTML that contains merged data. |
{ItemBLK} ... {/ItemBLK} | Defines the start and end of an item. A page can contain multiple items (i.e. a list of contact), and support multiple columns. This is defined only once. To define other occurrences of item blocks, use the {ItemRPT} code |
{ItemRPT} | Placeholder that will repeat the ItemBLK content |
{SomeFieldName} | Will merge the value of the field "SomeFieldName" for this item |
{Parent.SomeField} | Will merge the value of the field "SomeField" for the main parent of this item |
{PageBRK} | Will insert a page break |
{ItemHTML} | The content of the HTML pane for this item |
Examples
A sample file is provided: AppFiles\InvoiceEx.htm
Here's a small example of exporting only a few item fields in a simple format :
{DataBLK}{ItemBLK}
==========================
Title : {item}
PROJECT : {project}
ORDER : {Order}
URGENCE : {Urgency}
DUEDATE : {DueDate}
CATEGORY : {WIKITag}
==========================
{/ItemBLK}{/DataBLK}