web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Adding images taken by...
Power Apps
Answered

Adding images taken by camera control to SharePoint list attachments.

(1) ShareShare
ReportReport
Posted on by

Hello,

 

I have a camera control connected to an image gallery. I want to be able to click a camera icon in another Gallery (main SharePoint List gallery), which will make the camera control and image gallery visible, take photos, then click a button which will add those images to the attachments field of the SharePoint list item selected in the main gallery.

 

Thanks in advance.

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @ShadowTech ,

    I have a blog on Image storage and viewing that should assist you here.

     

    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.

  • ShadowTech Profile Picture
    on at

    @WarrenBelz Is there an alternative to using OneDrive?

     

    Thanks.

  • ShadowTech Profile Picture
    on at

    @WarrenBelz I like the attachments without the flow rout you have there but I'm a bit confused in parts. Can you clarify the process? Is it one form with two attachments fields or two different forms? How is that accomplished here?

     

    Thanks in advance.

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ShadowTech ,

    One attachment field can hold multiple attachments and you cannot use OneDrive for this (possibly with a lot of effort in a Flow but I have never attempted it - or needed to).

    The Flow is actually the easiest way - I have a blog on a more complex workaround without a Flow if you want to try 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.

  • ShadowTech Profile Picture
    on at

    @WarrenBelz To clarify, rather not use the flow and use OneDrive. I like then attachments path better. So Do I just create one form with with the SharePoint List as the data source and us the default attachments field? And how would I tie in the new form to the item I just selected?

     

    Screenshot 2021-07-20 152934.jpg

    Is this the update of data card for the attachment's field? Just to be clear.

     

    Thanks again.

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @ShadowTech ,

    In answer to your first question - yes - you can attach multiple files to a SharePoint list item. You need to read and properly understand that blog I posted before you attempt that 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.

  • ShadowTech Profile Picture
    on at

    @WarrenBelz  Here is what I have below. Maybe I'm missing something.

     

    attachmentsdatacard.jpg

     

    Form is called - FormPhoto

    Item property of FormPhot - LookUp(SharePointList, ID = Gallery1.Selected.ID)

    Attachments datacard (Update) - acPhotos.Attachments

    Datacard value (Item) - colImage

    Photos gallery - acPhotos.Attachments  (Anywhere else this needs to be changed? getting an error here as well)

    Image control - ThisItem.Value     (Getting an error)

     

     In the acPhotos attachment control I don't see "Value".

    value.jpg

     

    Also, what is "camAttach.stream" referencing the camera?

     

    Thanks

  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ShadowTech ,

    As I mentioned, this is a complex workaround and you really need to understand it (I cannot walk you through this if you do not, which is why I did a blog explaining the logic). 

    You have not followed the collection I posted if you do not see Value in colImage, but please read it again and try to understand how it is working.

    I personally do not use it (and we do 100k photos annually in the field) - I use a simple Flow into a Library, or if wanting an attachment use the Upload Photo control.

  • ShadowTech Profile Picture
    on at

    @WarrenBelz Got the attachments solution working. Had to tweak it a bit.

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ShadowTech 

    And marked your own post as the solution after all of that . . .

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard