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 III
Super User III

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (44,885)