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 / PCF custom PDF viewer app
Power Apps
Answered

PCF custom PDF viewer app

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone! 

I am building a PCF in React, a canvas app, that receive a pdf as an input and show it in a personalised view. This pdf is data from a dataverse table. 

I have tried a few things but I have no results. In my code the React Component receive an URLas a prop and inside the component I do the fetch and then response.blob. But the problem is that I receive a string like that:

 

appres://datasources/Cartel%20Versiones/table/xxx_poster_version/rows/375cb2aa-e4d6-ee11-904c-002248a1ea6c/fileimageurl/http:%2F%2Ftemp.url/column/xxx_poster_file/resourceid/395cb2aa-e4d6-ee11-904c-002248a1ea6c

 

I think that the reason is that in Dataverse , the file url is not available directly and is just saved in azure blob storage. But how it is posible to create a pcf control that receives a file from dataverse column and shows the content?

I really tried whatever it was posible, but i dont find a good example how to procced on that.... 

Thank you. 

I have the same question (0)
  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    File type columns are not straightforward, it is true. But this is because - as you suspected - the data is not actually stored in the table where the column appears. This docs page goes into great detail about how to work with this column type, and this section in particular details how to download the file contents.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard