OL Learn

Do Print Sections Have A Unique ID?

If I have two print sections are they numbered 1 and 2 at all?

I can get the total amount of sections with the below code… but wanted to have a sort of page numbering between sections

var printSections = merge.template.contexts.PRINT.sections;
for (var i = 0; i < printSections.length; i++) {

You can achieve page number across Sections in an Output Preset. There are a variety of variables available related to page and/or sheet within Documents, Document Sets, and Jobs.

Print output variables