I want to test renderAsPdf(). I took the example i...
# suitescript
s
I want to test renderAsPdf(). I took the example in Suiteanswers and none are working in a suitelet. Do any of you have and example that run (not in the debugger)
c
it may be that template you're loading
s
Great but I'm looking for something very simple. For instance, I want to write "Hello World" and see the PDF. Thanks
c
sorry i got you confused w/ the person above that has almost the same problem but thats an example
a simpler one*
d
s
Let me try it
It's exactly what I was looking for. Thanks a lot
👍 1
Now that it's working, I want more 🙂 I'm trying to add <div> <P1> etc... Is it possible without a form ? I mean simply in the code ?
d
I don't see why not another example https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_159073670961.html in general: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4454208098.html , can make custom pdf content to be whatever you want good luck 🙏