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 / Attachments in PowerApps
Power Apps
Unanswered

Attachments in PowerApps

(0) ShareShare
ReportReport
Posted on by 166

when I don't run the camera,I can manually upload the image to the SharePoint list,but the camera work in the form, the attachments auto collect the image captured by camera, at the same time I manual upload a pic and submit the form ,then I go to another screen and sharepoint check the pic,the manual upload one can't be saved. Does anybody know how to fix this issue?

Categories:
I have the same question (0)
  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    Please share your code and we can help

  • Ricky24 Profile Picture
    166 on at

    the code on the camera onselect is:

    Collect(colAttachments,{DisplayName:GUID()&".jpg",Id:GUID()&".jpg",Value:Self.Photo})

    the code on the attachments update is:

    colAttachments

    Ricky24_0-1663225963502.png

    thanks 

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    Yes, so to add an attachment and use the camera control you would need to show me what is being done on the on attachment control. 

  • Ricky24 Profile Picture
    166 on at

    hello,the attach control is all default status,initial i want to add code:colAttachments,but when i write the code ,error appearas.

    Ricky24_1-1663226926913.png

     

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    Would you like to be able to add attachments as well as use the camera functionality?

  • Ricky24 Profile Picture
    166 on at

    YES,Now the app can add attachments captured by camera,but when I click the "attach file",the image can be display in the attachments window,but it doesn't can be saved or upload to sharepoint.

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    So on attachment control on attach file you need to add items to the same collection as the camera control. 

  • Ricky24 Profile Picture
    166 on at

    Ricky24_0-1663227709830.png

     

    any suggestion for the code in the attachments?

    I add the code:Collect(colAttachments),it doesn't work

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Ricky24 @phipps0218 hi firends, do you have solution for this?

  • Ricky24 Profile Picture
    166 on at

    Delete the camera function in the form, and you keep the attachments function in the app, when you click the attachment, then the app will jump to the PIC folder or camera.

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard