Toggle menu

helper.getPageInstanceCount([pageName])

Returns the current count of page instances.

Defaults to the current page if a page name isn't set.

Executed

Client-side and server-side.

Arguments

ArgumentTypeDescription
pageNameString, optionalThe name of the repeating page to count the instances of. Defaults to the page the function is used on if not set

Returns

Returns null for non-repeating pages.

Integer. The number of instances of the page.

Last modified on 13 September 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon