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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Embedding canvas app in model driven

(0) ShareShare
ReportReport
Posted on by 595

Hi All,

I have a requirement that I have to embed a canvas app in a model-driven app where I need to fetch an attachment which is added an annotation(note) and display that in pdf viewer through embedded canvas app.. Please suggest me to achieve this

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi Abhilash,

    I am not sure whether PDF viewer control of canvas app is able to achieve the functionality, because according to documentation, the current control only supports URL that directly links to pdf file,

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer#limitations

    while pdf files and other attachment files are saved in base64 string format in Dynamics, we may need to read and render them programmatically.

    You could refer to PCF control as alternative, pdf is supported by the PCF control.

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

    Regards,

    Clofly

  • Abhilash M abi Profile Picture
    595 on at

    I tried PCF Control it loads image but for pdf it will open full screen. that didn't suit my requirement.

  • Abhilash M abi Profile Picture
    595 on at

    I Achieved my requirement by saving pdf content in filestorage field then i'm passing that value to pdf viewer in canvas that works for me..

  • cloflyMao Profile Picture
    25,210 on at

    Hi Abhilash,

    It is very glad that your achieved the functionality.

    Do you mean that pdf content can still be used directly in PDF Viewer control?

    Is your solution similar to the third reply in this thread?

    https://powerusers.microsoft.com/t5/Building-Power-Apps/view-pdf-in-pdf-viewer-control-using-base64/td-p/551826

    It will be really appreciated if you could share the solution.

    Regards,

    Clofly

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans