Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Advanced PDF Template - pagenumber
I am trying to wrap my head around what I thought would be a simple task. We are moving to using the Advanced PDF Template for our invoices, and I want to print the page number, but only if there are more than 1 pages. This seems to be not easy to do, because it is a mix of both Freemarker and BFO. BFO has the pagenumber and totalpages variables, but can those be accessed using Freemarker if statement?
This is what I am trying:
<#if (totalpages > 1)>Page <pagenumber/> of <totalpages/></#if>
0