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 / SharePoint List Attach...
Power Apps
Answered

SharePoint List Attachments not going through

(0) ShareShare
ReportReport
Posted on by 583

I have an app with several add media buttons that create a collection and then adds that collection to the attachments but none of the images are going to the attachments. Can anybody see what I am doing wrong here?

 

Add Media button OnSelect = 

UpdateContext({varPID: GUID()});
Collect(
 colImage,
 {
 Value: UploadedImage1.Image,
 DisplayName: "Sort 1-"&Text(
 Now(),
 "[$-en]hhmmss"
 ) & ".jpg",
 Id: varPID,
 AbsoluteUri: ""
 }
)

I got this form WarrenBelz.

 

The attachments data card has DataField = "{Attachments}" - Default = ThisItem.Attachments - Update = DataCardValue79.Attachments

 

DataCardValue79 Items = colImage

 

There are no errors and the form is submitted and will add all items except the attachments. I can't figure out what is wrong.

 

Thanks

Categories:
  • StephenGW Profile Picture
    583 on at

    If I just add the images with the default attachments card it works. How do I add the images from several AddMedia buttons to the attachments card and have them go through? I though I had this.

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @StephenGW ,

     

    It seems the DataCardValue.Default needs to be set for what you are trying to achieve, however it expects a record, rather than a collection so you can only add one attachment.

     

    Probably you're going to have to look at using Patch() or a flow in Power Automate to upload a collection of attachments.

  • Verified answer
    StephenGW Profile Picture
    583 on at

    @BCBuizer 

     

    Thanks, I think I got it figured out with the help of WarrenBelz blog. This seems to work as long as you follow his directions exactly. Attaching Camera photos without either a Flow or JSON – Practical Power Apps

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @StephenGW ,

     

    Glad to see the issue have been solved.

    You could mark the correct reply as a solution to close the case.

     

    Best Regards,

    Wearsky

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard