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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to use print funct...
Power Apps
Answered

How to use print function to print the screen with some gallery only

(0) ShareShare
ReportReport
Posted on by 2

Working on power app for teams.

 

On my screen around 4 gallery connected to different data source but filter by the some textbox on the top of the screen.

 

I want to print the screen with 3 gallery only, rest all the gallery and controls to be hidden at the time of print.

 

Is it possible?.

 

Please advise

 

Categories:
I have the same question (0)
  • CU05080617-0 Profile Picture
    136 on at

    Hello @MIA27 .

    How about to add a variable to make them not visible while printing (on visible property on each control and your gallery that you want them to be hidden) ?

    On printing button I tried this:

    UpdateContext({varVisible: false});
    Print();
    UpdateContext({varVisible: true});


    Hope this helps.
    Nick



  • MIA27 Profile Picture
    2 on at

    Dear Nick, 

    Thank you. 

    Have not applied, will working on the test.

     

    One related question that user may ask, the same method hiding is possible while creating the pdf of the screen.

     

    Please guide in the mean time. so that both the test can be done and will update you accordingly.

     

    Regards

     

  • Verified answer
    CU05080617-0 Profile Picture
    136 on at

    Hi Mia.

    How do you create the pdf? I think you could achieve this again on the button you create the pdf. Make all not visisble with a variable when button is pressed. If this does not work please provide with more information. Thank you.

    Best regards.
    Nick

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 242

#3
Valantis Profile Picture

Valantis 198

Last 30 days Overall leaderboard