Skip to main content

PDF Issue in NetSuite after 2025.1 update

Came across a weird issue after updating to NetSuite 2025.1.  Our PDF Printing function was showing the underlying code for the PDF instead of rendering the PDF.
Looked at many possible issues and discovered that it was in our header:
old code had

name: 'Content-Type:',
value: 'application/pdf'

I removed the : and it worked as before

name: 'Content-Type',
value: 'application/pdf'
Found the solution on Reddit.  Posted to a StackOverflow: pdf generation - How to Change NetSuite 2025.1 PDF Renderer Back to Previous Instead of BFO? - Stack Overflow

Comments