Announcements
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.
@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."
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.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 955
11manish 652
Valantis 626