Hi, I am priting the content on the screen using Print() function. But the function only prints whats available on the screen. It also does not print something that is having scroll bar. Also, if there are more items inside gallery and the gallery scrolls then all items wont be printed instead those only on screen are being printed. This becomes problematic when the content is dynamic. Is there a workaround for this?
Print() function has some limitations, HTML has to be created in alignment with the form and then it has to be converted to PDF using power automate.
https://365stack.in/index.php/2021/09/17/powerapps-print-form-to-pdf/
Hi @Vaibhav_k,
Do you meant that you could not print all the content within the form but just a part of them displaying in the form?
Actually it is an known issue by design.
You can only print the screen you have added a button and defined Print function on OnSelect
property of the button. For example, if you have added a button on screen 2
and when you select the button, only the content in the screen 2
gets printed.
If you insist on this, you could check shane young's video for reference:
Power Apps Print function and adding it to your forms and Apps - YouTube
Hi @v-qiaqi-msft yes thats the problem. I can only print whats available on the screen. So would it be possible to export the nested galleries data to pdf if not print()? Just a thought.