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 / Render a PPT stored in...
Power Apps
Unanswered

Render a PPT stored in Document Library, Upon selection from Gallery in Canvas App.

(0) ShareShare
ReportReport
Posted on by 12

Hi All,

I have a gallery menu, upon selection, I can open a page to show the records, one of the records is the link to the PPPT location in the document library.

 

The PPT is located in the Document Library, I can add the hyperlink to this pdf, but unable to render it.

Has someone used any kind of viewer to render a PPT in the Power app, (it can be converted to PDF dynamically, any suggestions).

 

Any help will be appreciated.!!

Categories:
  • Kirkby Profile Picture
    659 Moderator on at

    Hi @anshul 

     

    The simplest way to show a selected file is to use thumbnail feature that SPO provides even though it is not perfect.

     

    1) OnSelect of an item in the Gallery that shows list of files.

     

    If( EndsWith(YourGalleryName.Selected.'File name with extension', "pdf"),
           UpdateContext({documentLinkToPresent:YourGalleryName.Selected.'Link to item'}),
         
           //Handle the case where the file type is Excel, PowerPoint, or other type.
           UpdateContext({documentLinkToPresent:  
            Substitute(
                    YourGalleryName.Selected.Thumbnail.Large, "/thumbnail","/pdf" 
                  )
           })
          )
     
    2) Document property of PDF Viewer(Experimental): documentLinkToPresent

     

    However, this method has a limitation where the file content appears blurry in some cases.

    confidential_pdf.png

     

    Kirkby

     
     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard