Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Start counting report pages on number 2
amandavale
Hi!
I need to count pages on my report starting on number 2.
How do I get this?
The page number is showed on footer.
I've tried to create variable page, but I had no success.
Find more posts tagged with
Comments
kclark
You would need to create a label in the master page footer. Then use some script like this in the onRender() of that label<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>if(pageNumber < 2 ) {
// Do nothing
}else{
this.text = (pageNumber - 1); // If you want to start at one
//this.text = pageNumber; // If you want the real page numbers
}</pre>