Skip to main content
Community site session details

Community site session details

Session Id : Iux0RN7yQwZ7wyM7NjY+51
Power Apps - Building Power Apps
Unanswered

Preview PDF file in model driven app

Like (0) ShareShare
ReportReport
Posted on 20 Oct 2020 09:35:33 by 115

Dear community,

 

using a file attribute (https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/file-attributes) it is possible to upload files to CDS, namely PDFs.

 

Is there any possibility to display a PDF file from CDS using Power Apps PDF Viewer Control https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer or just PDF.js https://mozilla.github.io/pdf.js/.

 

What I am trying to achieve is a file preview in a model driven app.

Categories:
  • Community Power Platform Member Profile Picture
    on 03 Jul 2023 at 13:13:43
    Re: Preview PDF file in model driven app

    Today I implemented a pdf preview in a model driven app based on a canvas app.

     

    Here are the full steps:

    https://sharepains.com/2023/07/03/pdf-preview-in-a-model-driven-apps/

     

    It avoids the coded option of PCF controls.

  • mdevaney Profile Picture
    29,987 Moderator on 20 Oct 2020 at 11:56:09
    Re: Preview PDF file in model driven app

    @kv 

    Additional functionality can be added to model-driven apps by adding PCF controls.  This PCF attachments control allows the user to open PDF files and read them in the browser.

    Link to PCF Control

    https://github.com/OOlashyn/PCF-AttachmentGalleryControl

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete