Incremental Numbering Syntax for Pages

<< Click to Display Table of Contents >>

Navigation:  Using CloudNine LAW > Coding >

Incremental Numbering Syntax for Pages

You can auto-number documents on a page level, using a seed value contained in an index field. For example, if you have a file name field such as ABC0001 you can number PageID's based on the field and with each page incrementing automatically.

When you number a page level field with a document level index field, use &[<Field Name>] to apply the value of the document level field to the page level destination field for each page.

To increment the document field for each page use the syntax:

&[<Field Name>]++

Adding ++ at the end of the field increments the document level index field for each page in the document.

 

Note

This ++ syntax is also used in the endorsing function in batch processing when applying headers and footers.

 

For more control on Incremental numbering on the page level, see our run commands