14
Views
3
Comments
unable to print a screen module as pdf
Question

when i use printtopdf with URL as GetBookmarkableURL() i can manage to get a screenshot of the main page as pdf. but when i want to use the blankPDF as the screen i change the URL to "/FeedbackForm/BlankPDF.aspx" i get error in the screenshot. please advice


2022-10-24 14-36-20
Diogo Vilaça

Change your on SubmitOnClick action flow and remove the "PrintToPdf_Advanced" action. Instead, add a destination after the feedback message and set the destination for the PDF screen that you are trying to create. If everything else is correct, you should be able to print the screen to pdf.
Remember you can also read the component documentation or check an example available in forge so you can better understand its functionality.

I hope this helps you. Cheers.

UserImage.jpg
eric teo

By replacing a destination, I cannot link the connection for the rest of the components after it. I am new to this, please advice.

UserImage.jpg
eric teo

The reason why I used the PrintToPDF method is because i need the screen to be captured and pdf and sent it in the email thereafter. but if using your destination method, it only direct my screen and does not pdf the screen and attached in the email.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.