1.8

Table Of Contents
1.
On the Resources pane, expand the Contexts folder, and then either right-click the Web
context, or expand the Web context and right-click a Web section.
2.
Click Includes.
3.
From the File types dropdown, select JavaScripts.
4. The available JavaScript files are listed at the left. Use the arrow buttons to move the
JavaScript files that should be included to the right-hand list. Using the Up and Down
buttons you can change the order of the files, too.
5.
Click OK.
Using JavaScript in other Contexts
Email clients do not support JavaScript. Therefore, Email contexts cannot include JavaScript
resources.
When a JavaScript file is included in a Print section, the Designer itself acts as the browser.
When generating Print output, it runs the JavaScript after generating the main page flow
contents and the pagination. So, it is possible to change the Print output by a JavaScript; for
example, to add a barcode that includes the page number to each document. A warning is
appropriate, however: changing the DOM may change the page flow and doing so at this point
may result in bad output and/or serious errors or a crash of the software.
Capture OnTheGo
With the Designer you can create Capture OnTheGo templates. COTG templates are used to
generate forms for the Capture OnTheGo mobile application. For more information about the
application refer to these websites: Capture OnTheGo and Capture OnTheGo in the Resource
Center.
COTG Forms
A Capture OnTheGo Form is actually just a Web Form that has a number of characteristic
features:
l
Its action always specifies a Workflow HTTP Server Input task, so that when the Form is
submitted, the form data is sent to the Workflow server. (See: "Specifying an action" on
page408.)
Page 406