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 / 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:
I have the same question (0)
  • 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,510 Super User 2025 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
    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

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard