2022.1

Table Of Contents
Print Content Item in the Connect database (see "contentitem" on page1505). Custom
properties can be utilized for further processing in a Workflow configuration with the
Retrieve Items task. The Retrieve Items task retrieves custom properties along with the
base record information (see Retrieve Items in Workflow's Online Help).
Adding a Post Pagination Script
To add a Post Pagination Script:
1. On the Scripts pane at the bottom left, click the black triangle on the New button and click
Post Pagination Script. The new script appears in the Post Pagination folder.
2. Double-click the new script to open it. The script editor appears.
3. Change the name of the script so that it reflects what the script does.
Note
Scripts can only have the same name when they are not in the same folder.
4. Write the script. If you are not familiar with scripting, see "Writing your own scripts" on
page918.
Note
Post Pagination Scripts run only when a Print section is previewed or outputted.
To verify the results of Post Pagination Scripts on a certain Master Page, preview the
Print section to which that Master Page is applied.
Creating a Table Of Contents
This topic explains how to create a multi-page, cross-section Table Of Contents (TOC) using a
Post Pagination Script.
For information about Post Pagination Scripts in general, see "Post Pagination Scripts" on
page970.
The basics of script-writing in the Designer are explained in the following topic: "Writing your
own scripts" on page918.
Page 972