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 / Help with attachments
Power Apps
Unanswered

Help with attachments

(0) ShareShare
ReportReport
Posted on by 67

Hello Community,

 

I'm having issues with my attachments. I have two buttons on my form; "Save in Draft" and "Submit". When I click either button, and go back and view or edit the form, the attachments are not saving to the record. I have an edit icon on gallery, and set the OnSelect property of the Icon to

Set( varFormMode, FormMode.Edit ); Set( varItem, ThisItem ); Navigate(CreateNew); ClearCollect( colAttachments, ThisItem.Attachments )

 

Can someone tell me what I'm doing wrong?

 

 

Categories:
  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    @heycanyouhelpme 

    Your question is not clear can please show screenshot?

    Are you using a form? and how do you submit the form via patch or Submit () and what is the code you have the item property of the form?

     This no need if using a form

    ClearCollect( colAttachments, ThisItem.Attachments )

     

    Also, delete attachment control and re add see if that helps otherwise give us more information so we can assist you better 

     

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

    Hi @heycanyouhelpme ,

    You cannot collect attachments (the files) - all you will get in the collection is the name and if saved, the URL. The only way to save an attachment is to submit the form.

     

    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.

    Visit my blog Practical Power Apps

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard