cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ravee_82
Helper I
Helper I

Easy Way to uploaded pics to sharepoint from powerapps without flow or collection

Hi Guys,

 from last few days i was struggling to save uploaded images in power apps and save to SharePoint and get back to power apps 

couldn't find a satisfactory answer and after some time i got a solution without flow or collection

it can be done in 4 simple steps

1,Get binary data of image using a button control On select function create a variable ;Set( ImageJSON, JSON( UploadedImage2.Image,IncludeBinaryData ) )

2,Put that in a text feild and to remove "" from begining and end of the value you need to use replace function ;Replace(ImageJSON,1,1,"")for first " and Replace(TextInput1.Text,Len(TextInput1.Text),1,"")for last 

3,put in a Image on Image property give the second text feild name 

4;Now you can save in share point multiline text column using patch functiona and call back image using lookup function anytime 

NO NEED OF COLLECTION OR FLOW 

 

52 REPLIES 52

Thank you Ravee!  This solution helped me greatly!  

My pleasure if it worked for you please marked as accepted solution 

Hi @v-xida-msft 

 

I am new to internet blogs.  Regarding the @ravee_82 post - I would like to Accept it as the solution, but I don't know how to do this.  Will you please tell me how to do this?

c_shannon
Frequent Visitor

Accept it as the solution

hanglie
New Member

Hi Ravee_82,

 

I am trying to execute your solution but not really sure how it works in detail.

 

I am stuck after step 1, could you please help?

 

Thanks,

Hang

 

hanglie_0-1612801627713.png

 

Hi ,

Theory is change image to json binary take away the "" save in sharepoint and than lookup using unique feild 

 

1,Get binary data of image using a button control On select function create a variable ;Set( ImageJSON, JSON( UploadedImage2.Image,IncludeBinaryData ) )

c_shannon_0-1612917558952.jpeg

 

 

 

2,Put that in a text feild and to remove "" from begining and end of the value you need to use replace function ;Replace(ImageJSON,1,1,"")for first " and Replace(TextInput1.Text,Len(TextInput1.Text),1,"")for last 

c_shannon_1-1612917558958.jpeg

 

 

c_shannon_2-1612917558966.jpeg

 

 

 

3,put in a Image on Image property give the second text feild name 

In my case, DataCardValue47 is referencing the cell value of the SharePoint list item.

c_shannon_3-1612917558975.jpeg

 

bertrandedin
Helper I
Helper I

Hello,

Thanks for this post.

 

I tested the application.
I have these instructions in my multi-line column:

bertrandedin_0-1614990327495.png

 

But no picture, is it possible to load image in the column ?

If this is possible, I do not know how.  

No unfortunatly not 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,282)