reportPage example
To display the current page number on a report, create an Text component on the PageTemplate that contains the following expression codeblock as its text property:
{||"Page " + this.parent.parent.reportPage}