Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Issue with PDF viewer

(0) ShareShare
ReportReport
Posted on by 37

In my sharepoint table, there is a column called Attachments where customers can add any pdf files they find important for their order. While I am currently able to display all of the other column data in power apps, I am currently having an issue with using the pdf viewer to load any of the pdfs in the attachments column.

I have tried NameOfGallery.Selected.'{Attachments}', NameOfGallery.Selected.'{Attachments}'.Value, and all of the other available branches, but I keep getting the same error: "The property on this control expects blob values. The rule produces Table values which are incompatible."

I vaguely understand what it is saying, that I need to convert the data to be accepted, or I need to access it in a way that gives it blob values instead, but I am not certain what blob values are or how conversion would work in this case. If people need any more context on my problem before they can attempt to help me, just let me know.

  • QuoteOnQuote Profile Picture
    QuoteOnQuote 37 on at
    Re: Issue with PDF viewer

    Thank you, that fixed my issue!

  • Verified answer
    Re: Issue with PDF viewer

    Hi @QuoteOnQuote,

    Do you want to display the attachment pdf file within the PDF viewer?

     

    Please set the Document property of the PDF viewer as below:

    First(Gallery3.Selected.Attachments).Value

    vqiaqimsft_0-1656481967678.png

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard