Grouping data

GROUPNUMBERSEQUENCE – Create list of page number ranges

270 views June 1, 2018 admin 1

Overview

This Custom Field creates a list of page number ranges, given a list of page numbers.

Syntax

GROUPNUMBERSEQUENCE(‘GroupPath‘,’PageNumber‘)

GROUPNUMBERSEQUENCE(‘Parent Category:Child Category‘,’Page‘)

 

Element Description
GroupPath Group path delimited by colons.
PageNumber Page number field

Example

GROUPNUMBERSEQUENCE(‘Parent Category:Child Category‘,’Page‘)

Page GROUPNUMBERSEQUENCE
1 1, 4, 5, 7-9, 12
4 1, 4, 5, 7-9, 12
5 1, 4, 5, 7-9, 12
7 1, 4, 5, 7-9, 12
8 1, 4, 5, 7-9, 12
9 1, 4, 5, 7-9, 12
12 1, 4, 5, 7-9, 12

See also

GROUPSEQUENCE

GROUPSEQUENCEONFIELDCHANGE

Was this helpful?