Hi!
Yes i know, I should have never started using the PDF function in the first place. I tought it was a great idea as building a document with Word developer looked time consuming and a bit difficult. However, looking back now it would have been the best idea.
Anyway, I really need some help! I have built an canvas app that the users enter data i several screens. This turns out to be a A4 document on the last screen. It is thereafter a flow that sends the document for QA and signature in Docusign. Everything is working, OH WELL, almost. The pdf fuction is cutting text. This means that when the page turns it does not realize that the text need to follow. This I have used a work around with building space between the various text fields ect. But if you have a better solution I would really like to know it! I have used a container for the pdf fuction and there are text labels in the pdf ( not forms ect).
So to my other problem. The app suddely cut the marin of the pdf. This has worked before, but now it suddenly puts all the text to the left side. So how can I fix this asap?

This is a view of the onselect code for the "show pdf" button.
In addition there is also the trigger for the flow that sends the pdf out of canvas app

What am I doing wrong? and what should the margin be? I have tried to put the margin to 0mm. This does not help. I have also tried to remove the margin totally as I have read that can also be done. Still does not work.
PLEASE help me ❤️