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 for this - it is a HUGE lifesaver for my app!
pleasure is all mine
If you like it can you please mark as solution
Thank you
I've managed to get the base64 content into a multi line text field in my sharepoint list. Is there a way to display this as an image in the list, or do we need to do something else to view the images?
Hi,
Can you please explain more on that about your requirement as where you want to display your image
Hi
I am trying to follow your salution, could please see my attachment, what do I do wrong?
Hi,
Can you please tell me in more detail
How did you do it may be than i can help you better
Thank you
Need to say that I am new to PowerApps, so please bear with me 😊
Today we are using an Sharepoint onprimse were we hav an custom list to maintenance of all our CNC machines when they need service and on, for picture column we are using a 3 party app called Squarecube where we can browse our pc and upload a image to the list.
Now we want to move to Sharepoint online and want to be able to use powerapps with the list, and it is also working perfect, but I need to be able to change the picture and it is here I want to use your sample but cannot seem to get it working.
Also tried creating a new blank app only with you sample but I keep getting the error attached in last post
Hope you understand
No problem i am here to help
First of all your sharepoint column should be multi text not single text
Than
Once image is uploaded than first convesrsion have '' in it which needs to be removed the once that is done than you can save i can send you instruction to work in a blank app if you can give me table and column name you just copy and paste
just created a column as multiple text named image, will you send me the instructions for a blank app?
Ok i ll send you
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
252 | |
126 | |
85 | |
84 | |
67 |