2019.2

Table Of Contents
Network paths are similar: results.loadhtml("file://servername/sharename/folder/snippet.html");
(note that in this case file is followed by 2 slashes only).
Some limitations
l Style sheets cannot refer to external resources.
l The Connect Server user needs access to whichever network path is used. If the network
path is on a domain, the Connect Server must be identified with domain credentials that
have access to the domain resources.
For more information on network paths, please see this Wikipedia entry: file URI scheme.
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 or a PDF file; see "Print
context" on page133.
l The Email context outputs HTML email, composed of HTML code with embedded CSS.
See "Email context" on page174.
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
When you add an Email context to an existing template you get a 'basic action email'.
Page 119