Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Answered

Pdf viewer controls do not show anymore

(3) ShareShare
ReportReport
Posted on by 49
Hello team,
 
in one of my canvas apps the pdf viewer stopped showing the Controls on top, without me doing anything to the App.
 
I can see that it renders when the pdf is showing up but then immediately disappears.
 
Does anyone recognize this behavior? Has something changed?
 
Wim
  • Suggested answer
    blx Profile Picture
    2 on at
    Pdf viewer controls do not show anymore
    Hello,
     
    I had same issue recently. On every file change controls were missing.
    I've created global variable and setting it false and true on file selection. That didn't worked.
    Added a button that could be called, still no success.
    Then I found property in PDF Viewer called "OnStateChange". So, whenever new file is selected to be displayed in viewer, I'm setting control variable to false and to true. That is working properly.
    It's not perfect, but still better than nothing.
  • ecombs Profile Picture
    148 on at
    Pdf viewer controls do not show anymore
    The verified answer led to an error in the Update Context
  • wimhofland Profile Picture
    49 on at
    Pdf viewer controls do not show anymore
    Latest response from sarfrazkahn is sort of same workaround that I use with local variable.
    This would probably also work for me.
     
    I do not hear anything from the customer anymore, so for me it is closed right now :-)
  • Verified answer
    SarfrazKhan Profile Picture
    29 on at
    Pdf viewer controls do not show anymore

    On the PDF viewer control:

    Set "ShowControls" to:

    ​showControls

     

    Set "OnStateChange" to: 

    ​UpdateContext( { showControls: false });
    
    UpdateContext( { showControls: true });

     

  • Rohit4044041 Profile Picture
    268 on at
    Pdf viewer controls do not show anymore
    I have a same issue. This is used to work and now it does not. 
     
     
    Tried below trick of setting it to false and then true, still controls are not visible
     
    They are visible for fraction of second during the load and then disapper :( 
     
    MS of course said cant said becasue its experimental . (for more than 2 years now )
  • Thor_PPC Profile Picture
    359 on at
    Pdf viewer controls do not show anymore
    Thanks
  • Verified answer
    wimhofland Profile Picture
    49 on at
    Pdf viewer controls do not show anymore
    I created a work around for this problem.
     
    When I need the PDF viewer in the app I set "Show Control" option to false AND immediately after this to true.
     
    Set (varControls, false);
    Set(varControls, true)
     
    I do not like these kind of solutions but it works
  • wimhofland Profile Picture
    49 on at
    Pdf viewer controls do not show anymore
    Unfortunately it is more complex than this. :-(
     
    The show controls option is ON. When the page loads I can see the controls but then when the document renders, the controls disappear. 
     
    The thing that bothers me is that it worked. For a long time. and all of a sudden it stopped working.
     
    I also know that in the description of the PDF viewer it says 'experimental', already for a couple of years.
     
    Strange thing is that PDF viewer works even without activation of the setting in Experimental options. 
     
    thanx for the try
     
     
  • Suggested answer
    Mark Nanneman Profile Picture
    989 Super User 2025 Season 1 on at
    Pdf viewer controls do not show anymore
    There's a "Show Controls" property on the PDF control.   Just switch it to true to see the controls again.
     
    You could also add a button or toggle to let the user toggle it.
     


    I don't know why it changed on you.

    Perhaps someone accidently modified it? 

    The PDF Viewer Control does say it's "Experimental" so it's also possible they can change things on us and maybe the controls used to be on by default.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics