1.4

Tip
For a detailed description of how to use Mandrill with Connect to send and track emails, see the
following how-to: Using Mandrill.
Generating Email output from Workflow
1. Open a template with an Email context.
2. Send the template to PlanetPress Workflow; see "Sending files to Workflow" on page
425.
3. Create a process in PlanetPress Workflow containing at least the following steps:
l Any input that will capture a job file that is compatible with the data mapping
configuration that is used.
l An Execute Data Mapping task to generate a valid record set.
l A Create Email Content task with the appropriate settings.
Generating Web output
The Web context outputs an HTML web page that contains the HTML text and all the resources
necessary to display it.
JavaScript files are added to the <head> in the generated HTML file. They are useful to add
special features such as those offered by jQuery and its plugins, or MooTools.
Stylesheets are also added to the <head> and are used just as they would be used in a regular
web page.
Web output can be generated in two different ways: it can be attached to an Email template
when generating Email output, or it can be generated using Workflow.
Web output can be generated from the Designer when a data set is available. The data can be
retrieved from a database or data file, or from a Data Mapping Configuration.
Note that although data can be retrieved from an open Data Mapping Configuration, by default
a Data Mapping Configuration does not contain a complete data set. Rather it contains a
smaller subset of the data set, usually limited to 200 records. If you have an open Data Mapping
Configuration, you can however open the complete data file to merge it with the template.
Page 323