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.
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