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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
For an Advanced PDF, can I print the header only on pages that are not the 1st?
Trying to print the header only on page 2 or greater by using the following:
<#if pagenumber == 1 ><#else><body header="nlheader"></#if>
Problem with this though is the pagenumber, I'm not sure if it stores an actual value. This leaves me with a Null error when trying to validate the template as pagenumber has a Null value, maybe until I actually use a real document.
Other values I've tried to access that also return Null:
page.pageNumber
id="pagediv_0"
pagenumber/ gives syntax errors but also appears to return Null
#page1
page1
Is there perhaps another solution to this?
Tagged:
0