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 / Files in SP document n...
Power Apps
Unanswered

Files in SP document not readable help

(0) ShareShare
ReportReport
Posted on by 24

Hello all 🙂

I have created a flow that is on the (base64) to put the files in a document folder. When I press the button in the Power App the file is uploaded. But !!! This file is not read as shown (*.PDF) but this file is not readable. Do you have any idea why images (*.JPG and *.PDF) are not readable after uploading?

Greetings

DAN

Flow:

 

base64ToBinary(triggerBody()['Dateierstellen_Dateiinhalt'])

 

Power Apps:

 

Set(glo_json_bild;JSON(Image2.Image;JSONFormat.IncludeBinaryData)) = Image2
Set(Name;Last(DataCardValue44_1.Attachments).Name) = Attachments

tut_dokma_filepicker1.Run(Name;Mid(glo_json_bild;Find(",";glo_json_bild)+1;Len(glo_json_bild)-Find(",";glo_json_bild)-1))

 

  Link.JPGLink2.JPG

Categories:
  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @Digitalartnet ,

    You need to "strip" the header off the JSON is you want to use base64ToBinary create a file from it, Process is in this blog of mine.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Digitalartnet Profile Picture
    24 on at

    Hello 🙂

    YourFlowName.Run(
    YourFileNameBox.Text & ".jpg",

    Is it also possible to run all files like for example "*.*"?
    could be used?

    Because in the SP List I have both PDF and JPG in it.

    Greetings

    DAN

  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @Digitalartnet ,

    The blog relates to one file (and one item of JSON to convert) and responds to the question you posted (I assume this has addressed the issue).

    It is a whole new world if you want to start sending multiple files as this requires storing the data in a collection in Power Apps,  converting it to an Array in the Flow, then a ForAll loop writing each one to the Library - a couple of videos from Shane Young and Reza Dorrani on the process.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard