cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Re: Cannot Clear Attachments in PowerApps

Hi @Soyeb_Malek ,

 

Still facing same issue and i try a lot of way but not success.

 

There's work around but it's not a solution to Redirect to Sharepoint list after submit so the form it will load as new form with clear attachments.

Highlighted
Helper I
Helper I

Re: Cannot Clear Attachments in PowerApps

I am having this issue also.

 

Would greatly appreciate some help on this!

Highlighted
Frequent Visitor

Re: Cannot Clear Attachments in PowerApps

This is definitely not solved and seems quite random. I have one form I can clear and won't form that won't clear. As I fiddle with the NewForm and ResetForm sometimes it works and sometimes it doesn't. Sometimes all it takes is just changing something within the app. 

 

Really annoying...

Highlighted
Helper I
Helper I

Re: Cannot Clear Attachments in PowerApps

I've been able to recreate the issue every single time by submitting a form with a file attached.  After the form submits, all the fields are reset successfully except the attachments which shows the very first attachment in the source list (I've tested on multiple computers/accounts and they all see the same attachment).  The OnSuccess property is set to:

 

ResetForm(Form1);

NewForm(Form1);

 

I've experimented with the above properties as well as trying to reset the attachment area by itself.  I've also tried stripping the Attachment DataCard's Item property of Parent.Default to only be that in Edit mode but be blank in New mode using conditional logic.

Highlighted
Frequent Visitor

Re: Cannot Clear Attachments in PowerApps

haha, you jinxed my forms. I had two forms in the same tenant, browser, etc working two different ways, now both of my forms are behaving identically as well....

 

And the fact that this has been going on for at least 6 months now...

Highlighted
Helper I
Helper I

Re: Cannot Clear Attachments in PowerApps

Any experts have any information about this?

 

I may open a new thread in hopes of getting more visibility if I don't hear back from someone soon!  I'm worried because this is an older thread that people aren't responding.

 

Thanks!

Highlighted
Power Apps
Power Apps

Re: Cannot Clear Attachments in PowerApps

Sorry about the delay here, we thought this was resolved, but it may not have or perhaps there is another issue.

 

Is the reset button in the same form as the control or is it outside the form?  Can you try putting the reset button inside the same data card as the attachment control (you need to unlock the card in its advanced properties first) and see if reset works?

- not filipk@microsoft.com, please private message me if you can't share with everyone
Highlighted
Advocate I
Advocate I

Re: Cannot Clear Attachments in PowerApps

I try it but still same problem, the attached not clear after submit it's showing the first attached file in SP list.

Temprarry: i make launch to URL for same list but it's not user practice.

 

I Have a big problem because of this issue, May it cause cancelation of big project made PowerApps.

 

Please need your Help

Highlighted
Power Apps
Power Apps

Re: Cannot Clear Attachments in PowerApps

I cannot reproduce the problem with the reset button in the same data card as the attachment field.

 

What I see is:

  1. When I delete or add attachments in the control I see the changes in the control.
  2. When I click reset (from within the data card), the changes I made in step one are reversed.
  3. When I submit the form, the changes I made in step 1 are not saved. After save, control is as in step 2.

All of these are expected behaviour.  

 

Is this not what you are seeing?  I recommend opening a support call or an ICM as a better way to deal with the issue faster if it is an urgency.

- not filipk@microsoft.com, please private message me if you can't share with everyone
Highlighted
Frequent Visitor

Re: Cannot Clear Attachments in PowerApps

@FilipK 

 

you are adressing another users issue, and not the original one I posted.  I also posted a gif to show the app pulling up the previous attachments for a short period (depending on network speed) before finally switching to the correct attachments.  I have used resets from everywhere prior to loading the form to no avail.

 

This is an annoyance and has resulted in opening the wrong files several times.

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,800)