1.6

Table Of Contents
Web resources
Web resources are simply accessed using a full URL. This URL needs to be publicly
accessible: if you type in that URL in a browser on the server, it needs to be visible.
Authentication is possible only through URL Parameters
(http://www.example.com/data.json?user=username&password=password) or through HTTP
Basic Auth (http://username:password@www.example.com/data.json).
Contexts
Contexts are parts of a template that are each used to generate a specific type of output: Email
or Print.
l The Print context outputs documents to either a physical printer a PDF file; see "Print
context" on page56.
l The Email context outputs HTML email, composed of HTML code with embedded CSS.
See "Email context" on page90.
When a new template is made, the Context appropriate to that new template is automatically
created, including one section. After a template has been created, the other two contexts can be
added to it; see "Adding a context" on the facing page.
Tip
If an Email context is going to be part of the template, it is recommended to start with an
Email Template Wizard; see "Creating an Email template with a Wizard" on page86.
After creating a template, contexts can be added to it, but that can not be done with a
wizard.
Outputting and combining contexts
All three contexts can be present in any template and they can all be used to output documents;
see "Generating Email output" on page508, "Generating Print output" on page494 and
Generating Web output.
They can even be combined in output.
Page 45