cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MDietrich
New Member

Upload Images to Sharpoint

Hi there, 

 

Bild1.jpg

Over the Attechment i load my pictures in.

Then i save them in a Record and want to upload them to Sharepoint.

My Problem is that they are this appres: adress that is a reference to the memery and to the picture.

How can use the JSON function on all the attechments to convert the picture to the base64?

 

With best regards

Maurice

1 ACCEPTED SOLUTION

Accepted Solutions

I have solved my problem

 

Tank you

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User III
Dual Super User III

The address you are seeing is a reference to a cached image in the browser.  There is no way to use JSON to convert that directly to something that can be saved.  Here's an article that walks through how to use Power Automate to get the image file convert it and save it to Power Apps.  This is the normal workaround for this issue.

https://piyushksingh.com/2019/09/25/powerapps-upload-images-to-sharepoint/ 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

With this i save my pictures in a Record

Anlagen: ForAll(anlg_anlagen.Attachments; { AnlagenV: ThisRecord.Value; AnlagenN: ThisRecord.Name})

The AnlagenV is the data of the picture and the AnlagenN is its name.

 

Screenshot 2020-10-21 123110.png

Thats all the things i save in my record so that i can make entries even when i am offline

 

Screenshot 2020-10-21 123245.png

My problem ist to convert the image data into something, so that i can upload it to the flow and convert it to binary.

 

I cant see how that may help me

I have solved my problem

 

Tank you

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

As I said, the problem is that you don't actually have the image content.  The Appres://blobmanager entry refers to the browser cache.  Power Apps doesn't have a copy of the data to save.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,209)