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

problem with uploading photo

Hi,

 

I am creating app with SharePoint list and I would like to save photo in this SharePoint list.

 

When I use Attachements in my app it works good, I can upload photos as I want. But there is a quite big problem. When I create new item with status unsolved in my app I have to give there photo (now I use Attachements but I am not satisfied with this, because then when I want to solve the Item and change status at solved I need to upload to his item another photo).

 

So in short I need to have in my SharePoint list two columns with datatype Image (Photo before; Photo after). This SharePoint list I must edit in my Poweapps app. But how can I do this? Everything I have choosen have failed.

 

I am miss, please help me. 

 

Thanks

George

 

 

2 REPLIES 2
Community Support
Community Support

Hi @JiriS ,

Could you describe more clearly about why using Attchments field is not ok?
You could upload one image to Attachments field when you creating the item, then upload another image to Attachments field when you edit this field later.

Just note that you could only update images to Attachments by using Attchments control inside a form.

At the first time, set the form's Mode to New.

After creating this new form, when you want to edit this form, just set the form's Mode to Edit, set the form's Item to LastSubmit(Formname).

Then the form will display the data that the new form submitted just now, including image1 you updated .

You could update your second image to Attachments at this time.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I had this idea but there is a problem, that I need to store photos (before/after) in another columns named before/after. I do not want to use attachments because in this way it is possible to delete the photo before when I upload the photo after.

Is it possible to do it in two columns?
Thanks

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (40,308)