Using Export/Send Templates, you can perform the following operations:
These operations are united into one section as all of them are actually used to transform database records into text. The Export/Send Template, therefore, defines the type of the result document(s) - (E-mail, Ms Word File, etc), and the document content.
The content of the Export/Send Template is specified with a set of areas from which a final document is built up. Every area represents a text formula; that is, beside a plain text, it may contain database fields, variables and so on.
For example, let us review a template containing the next areas:
At exporting three records using this template, we will get the following document:
That is, data from three records was united into one single text, tags [Title] and [Price] were replaced with values of the corresponding database fields.
You can also create templates that will process every record separately. It means that you can get the following items as a result:
Let's review an example of creating a template for e-mail notification with the help of records containing information about clients. This template will have the following three areas:
When this template is used for three records, three e-mails will be sent:
Depending on the template type, it may have different number of areas and additional settings.
Copyright (C) 2001-2010 Binary Brilliant Inc. All Rights Reserved.