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
Solved! Go to Solution.
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?
Accept it as the solution
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
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 ) )
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
In my case, DataCardValue47 is referencing the cell value of the SharePoint list item.
Hello,
Thanks for this post.
I tested the application.
I have these instructions in my multi-line column:
But no picture, is it possible to load image in the column ?
If this is possible, I do not know how.
No unfortunatly not
User | Count |
---|---|
258 | |
111 | |
95 | |
48 | |
41 |