cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Donglin
Frequent Visitor

Use Camera Control to save pictures to Attachments of SharePoint List

Hi,
Anybody knows how to save pictures from Camera control to the Attachments field of SharePoint list?
I use the Attachments control to upload the files to the field, but it's not convenient sometimes, I would like to use camera take pictures and save to the field, I have searched the topics but could not find any reference. Would you please help me? Thanks very much.
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Donglin ,

You can use the camera control to save to a SharePoint Library and you can attach photos using the attachment control. My users I do both of these in many apps.

I have not used your required process and did some searching and after reviewing, thought I had found what you needed. I cannot find anything else on the subject, however there is still a workaround which I have as a standard process. Simply take a picture with the camera phone, then use the attachment control to attach it.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

9 REPLIES 9
WarrenBelz
Super User
Super User

Hi @Donglin ,

Here is a good description of the process if you want to use attachments.

I also have a working process to save these to a SharePoint Library -  I posted it here recently.

My users have taken over 20,000 field pictures in the field using this with very little issue - I am happy to explain this further if you require.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

Thank you so much. I have read the post, it's creating the photo files stored in SharePoint library, would you please advise how to store the photo in the Attachments field of a SharePoint list?

Hi @Donglin ,

Sorry wrong link - have a look at this one.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Sorry, I got confused, I haven't gotten idea how to make it since I didn't find the exact example from the links.
I use the Attachments control to upload pictures to the attachments field of SharePoint list called PartItem, but sometimes I would like to take pictures by Camera control and save to the same field. Would you please advise how to do? Thank you.

Hi @Donglin ,

You can use the camera control to save to a SharePoint Library and you can attach photos using the attachment control. My users I do both of these in many apps.

I have not used your required process and did some searching and after reviewing, thought I had found what you needed. I cannot find anything else on the subject, however there is still a workaround which I have as a standard process. Simply take a picture with the camera phone, then use the attachment control to attach it.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

Wonderful, with the Attachments control can also take the phone directly when use it on mobile phone. It is exactly what I need.
If it can resize picture size, it would be perfect.
Thank you.

Hi @Donglin ,

Yes, I remember that now about the mobile - a while since I have used apps on a mobile device taking a picture.

File size is often an issue with weak data signal.

GBG
Frequent Visitor

Sorry to barge in. Can you guys post your setups? im trying to achieve the same thing. Clicking on attachment to take photo then submit. On lists i assume i can see the photo taken under attachments after i click on edit?

Screenshot 2021-01-07 120844.png

Hi @GBG ,

I have done a blog on this subject that may be worth reading for you.

As a quick answer to your question, if the Image control is inside a card in the form and you only have one attachment, the Image property is

First(ThisItem.Attachments).Value

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it 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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,150)