web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make certain button in...
Power Apps
Unanswered

Make certain button invisible when convert to pdf and automatically as a landscape page when embed to pdf.

(0) ShareShare
ReportReport
Posted on by 13

The publish to news button on the pdf page should be hidden, but I'm not sure how to accomplish that. I tried using the print method, but it didn't work. also, can the pdf automatically turn 90 degrees or become a landscape page?

ryna122_7_0-1674805027990.png 

ryna122_7_1-1674805229695.png

 

 

Categories:
I have the same question (0)
  • Bilakanti Profile Picture
    1,226 on at

    @ryna122_7 You can use Not(Parent.Printing) on the visible property of the control, so when ever a print button is clicked, those controls will be hidden from printing. Matthew has provided the detailed explanation of his in his blog post below. 

    https://www.matthewdevaney.com/print-a-form-in-power-apps/ 

  • ryna122_7 Profile Picture
    13 on at

    I want to make it invisible when i send it as pdf screen.

    ryna122_7_0-1674808538534.png

    With(
    {wPDF: PDF(DetailScreen1_2)},
    Office365Outlook.SendEmailV2(
    "masreysm@kpsb.com.my",
    "Subject here",
    "Focus Recognition",
    {
    Attachments:
    {
    Name: "PDFFileName.pdf",
    ContentBytes: wPDF
    }
    }
    )
    )

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard