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 / Attachment control doe...
Power Apps
Unanswered

Attachment control does not reset

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

I am building a custom form for a SharePoint List and now I faced a problem which is the attachment does not reset after I had submitted the item to SharePoint List.

 

I had tried multiple ways:

  1. Recreate the form 
  2. Recreate the attachment control
  3. Create a button/icon to include (ResetForm and/or NewForm)
  4. At SharePointIntegration, OnSave property and include (ResetForm and/or NewForm)
  5. OnSuccess property on the Form that I am using, I also include (ResetForm and/or NewForm

Yet all of these ways still not reset the Attachment control after I had submitted an item into SharePoint List.

 

The only workaround had is keep refreshing the page to make the attachment disappear 

 

Is been trouble for a long time

 

Why is this happening and is there any workaround for this?

 

Thank you.

Categories:
  • edguerre Profile Picture
    Microsoft Employee on at

    @Anonymous 

     

    I've seen some threads about this. Have you checked? There are some solutions and workarounds there.

    Let me know how that works for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    SharePointIntegration.SelectedListItem Id is rertun 1 when you open new form. So New form always load with first item. 

     

    So, I have added the Default property like below condition  for Attachment datacard

    If(
    Form1.Mode = FormMode.New,
    Blank(),
    LookUp(
    ListName,
    ID = Value((SharePointIntegration.Selected).ID)
    ).Attachments
    )

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard