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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
response.setContentType equivalent
Hello all,
We have a Suitelet that produces a PDF. It was written in 1.0 and trying to convert to 2.0. It was all moving along until I got to the line
response.setContentType('PDF', 'WillCallOrder.pdf', 'inline');
2.0 of course does not like this and I have been unable to find the 2.0 equivalent. Any ideas?
Thanks,
Karen
0