Notifications
Announcements
Hey,
I want to create a PDF-File of one Screen of my App but there are two buttons which should not be there in the PDF-File. Can someone tell me how I can make those two buttons temporary invisible after I clicked the Create PDF button.
Thank you!
Regards Jannes
Hi @j-steinkamp ,
I think you can use UpdateContext to update a variable OnSelect of the Create PDF button in front of the PDF function:
UpdateContext({varVisble: false})
, and use this variable in Visible of Back Button. Besides, add a Timer with duration 12000 (2 sec), Start set to !varVisible, OnTimerEnd UpdateContext({varVisble: true})
Best regards,
@j-steinkamp you can do this by passing the control name in the pdf function like this:
Set(AlfaPDF,PDF(Container1,{DPI: 72, Margin: "25mm", Orientation: "Landscape"}))
On the right side, there is a PDF viewer but the function just generates the PDF of Container1 which contains one gallery. 1st parameter is mandatory other is optional.
If this is the answer for your question, please mark the post as Solved.If this answer helps you in any way, please give it a like.
Thanks!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268