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

Community site session details

Session Id : +LyVJv5b2ShUjohODt+Hjv
Power Apps - Microsoft Dataverse
Answered

PDF from Canvas App to Dataverse (Upload and Open)

Like (0) ShareShare
ReportReport
Posted on 5 Jul 2021 10:44:33 by 35

Hey everyone,

 

I built an canvas app, which has an edit form to create records in an dataverse table. After submitting the form I retrieve the ID of this new record by means of the LastSubmit() and feed this into a flow, which creates a pdf file and uploads it to the same dataverse table record (costum column with datatype file). Until this point everything seems to work. However, now I'm struggeling open the pdf file in the browser or to show it in pdf viewer in my canvas app. I asked google for about 2 hours now without any success... 

Any thoughts? The snippet shows how the pdf files appear in the dataverse table.

 

Thanks!

 

winj945_0-1625481629428.png

 

Categories:
  • winj945 Profile Picture
    35 on 05 Jul 2021 at 12:34:35
    Re: PDF from Canvas App to Dataverse (Upload and Open)

    Hi @dpoggemann ,

     

    thanks for the quick response. Yes, I followed a similar approach to your link to upload the file. But it seems that there is already a mistake on my site, because its not creating a correct pdf file...

     

    winj945_0-1625488440456.png

     

     

  • Verified answer
    Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on 05 Jul 2021 at 11:01:09
    Re: PDF from Canvas App to Dataverse (Upload and Open)

    Hi @winj945 ,

    Did you follow an approach similar to the following to upload your file?  https://docs.microsoft.com/en-us/power-automate/dataverse/upload-download-file 

     

    Did you update your default form for the table in Dataverse to add this field and see if you are able to click the file from that form to Open it?  Is it showing the PDF file in the File field?

     

    Sorry for all the questions...


    Thanks,


    Drew

     

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!

Featured topics

Loading complete