Geronimo Mecua · Jun 12, 2018 go to post

How will it be triggered in the ZENReport without calling it in the display? below is my sample.

Import User

///Test.TestReport

Class Test.TestReport Extends ZenReport

{ /// This XML defines the display for this report. /// This is used to generate the XSLT stylesheets for both HTML and XSL-FO. XData ReportDisplay [ XMLNamespace = "http://www.intersystems.com/zen/report/display" ] 

<!-- Optional Pagefooter element. Does not apply in HTML output. -->
<pagefooter>
<item special="page-number"/>
</pagefooter>

}

Method OutputData() As %Status
{

blahblahblah

}

///Closed

}

Geronimo Mecua · Jun 8, 2018 go to post

Hello David,

Just to add info on my question. I am creating a ZenReport that prints data to pdf. Now i am using the code I have provide like this < item special=“page-number” /> inside the table. That code display page number after creating/rendering the pdf.