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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / using camera control t...
Power Apps
Answered

using camera control to create attachments (working) but also want to be able to manually attach file

(0) ShareShare
ReportReport
Posted on by 148

Hi

 

have a simple app with camera control that saves images via a collection to a sharepoint list.

I want to be able to allow users to also manually attach an image  - so users go to attach file , navigate to image and select.

When doing this i can see the image (unsaved)  in the attachment list along with the camera images, but when i submit form the image (unsaved) doesn't actually save . Is there anyway both camera images and manually attached images can be saved together in same collection list/ saved to sharepoint?

 

thanks

Categories:
I have the same question (0)
  • v-albai-msft Profile Picture
    on at

    Hi @cheezy ,

    I need to collect some information from you:

    1. What's the formula to create a collection?

    2. Do you save the images into the Attachment column or a multiple-line Text column?

    3. Are you using a Add Picture control to add images manually? Or the Attachment control? What's the formula to save it into collection?

    4. What's your formula to save the images into the SP list? Using the Patch function?

    Please give me more information(better with screenshots) so that I can understand your better.

    Besides, I would suggest you use below control to have a test, since the "Add picture" control can both take upload pictures.

    valbaimsft_0-1626935931339.png

     

    Best regards,

    Allen

  • cheezy Profile Picture
    148 on at

    Hi Allen

     

    essentially followed guidance from this video

    https://www.youtube.com/watch?v=iW9dpDntKrY&t=383s

     

    1. collection formula as follows:

    Set (
    varName,
    GUID()
    );
    Collect(
    colImages,
    {
    DisplayName:varName & ".jpg",
    Id:varName & ".jpg",
    Value:Camera.Photo
    }
    );

     

    2. save as attachment

     

    3 and 4 in regards to these questions, the camera image attachments display in the attachments card with default data set to collection colImages - from the image below i have one camera imaged saved and thought i could use the "Attach file" function within the attachment card to add an image from a file (platium icon.png) and add it to the same attachment group as the camera images. 

     

    cheezy_0-1626941344139.png

    thanks 

  • Verified answer
    WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    HI @cheezy ,

    I have a blog on this process that may assist you.

     

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard