2020.2

Table Of Contents
Advanced PrintWizard and Output Creation Preset Wizard navigation options
l
Preview button (active in Advanced Print Wizard only):Click to launch a Proof Preview
window, which displays how the printed output would look based upon the currently
chosen selections.
l
Back and Next buttons:Used to navigate back and forth through all the selected options
within the Wizard. Up until the Print button is pressed, one can reverse all the way
through the wizard to return to the main selection page (the "Print options" on page1172
page) and add or remove printing options from the print run.
l
Print button (Advanced Print Wizard only) or Finish button (Output Creation Preset
Wizard only):
Click to produce print output/finalize the Preset according to the current settings.
This can be done at any point within the Wizard, whether or not all the options selected in
the "Print options" on page1172 page have been completed or not.
l
Cancel button:Cancels the Print Wizard, without creating any printout.
Designer Script API
In Designer templates, every bit of information can be tailor-made, using scripts. When Connect
generates actual output letters, web pages or emails -, it opens a record set and merges it
with the template. It takes each record, one by one, and runs all scripts for it (in a specific order,
see "The script flow: when scripts run" on page874).
Most scripts can be made using one of the Script Wizards (see "Personalizing content" on
page770).
However, when you want to do more than what you can do with a Wizard, you may write a
script yourself. If you are not familiar with writing scripts, please read "Writing your own scripts"
on page853 first.
All scripts in the Designer have to be written in JavaScript.
If you don't know JavaScript, the many examples given in this API will help you get started.
It is worth the effort, however, to familiarize yourself with the JavaScript syntax. For a simple
script all you need to know can be found on the following web pages:
https://www.w3schools.com/js/js_syntax.asp and https://www.w3schools.com/js/js_if_else.asp.
In the editor window, press Ctrl + Space to see the available features and their descriptions.
Use the arrow keys to select a function or object and press Enter to insert it in the script.
Type a dot after the name of the function or object and press Ctrl + space again to see which
Page 1265