[Html2PdfConverter] How to generate PDF for secure and user authenticated pages?

[Html2PdfConverter] How to generate PDF for secure and user authenticated pages?

  
Forge Component
(42)
Published on 23 Jun by Guilherme Pereira
42 votes
Published on 23 Jun by Guilherme Pereira

How to generate PDF for secure and user authenticated pages


I have a multi tenant application, and also respective users for the same.

I want to generate PDF using HTML2PDF for one of the page, which requires login.

But I am not able to generate a PDF, its showing PDF generated for the Login Screen.

Please suggest solutions for the same.

Maybe you can try using tokens...

Unfortunately the html2pdf does not support authenticated pages. So you need to use tokens to keep this more secure. 

This component on forge was created to exemplify the use of tokens and it combine html2pdf and simplereports.

http://www.outsystems.com/forge/component/1664/pdf-report-demo/


Best regards

Fabio