I have created a button to render pdf with UserEvent, ClientScript and Suitelet. 1
And now I just successfully created a pdf and download it, 2
but I expected the