|
The script flow: when scripts runWhen Connect generates the 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, as explained below. First all Control Scripts are executed, in the order in which they appear in the Scripts pane. Control scripts don't touch the content of the sections themselves, but they change the way a template is outputted, for example by selecting or omitting sections from the output (see Control Scripts). Then the template scripts are executed, once for each section, in the order in which they appear in the Scripts pane. In a Print context, the template scripts in the Scripts pane run once for each section and then for each Master Page (see Master Pages). Next, each processed Master Page is put behind every page to which it should be applied. |
|