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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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