cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mo_gamal
Level: Powered On

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.

BrennenLowe
Level: Powered On

Re: Cannot Clear Attachments in PowerApps

I am having this issue also.

 

Would greatly appreciate some help on this!

BenStegink
Level: Powered On

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...

BrennenLowe
Level: Powered On

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.

BenStegink
Level: Powered On

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
BrennenLowe
Level: Powered On

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!

PowerApps Staff FilipK
PowerApps Staff

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?

Mo_gamal
Level: Powered On

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

PowerApps Staff FilipK
PowerApps Staff

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.

demanandy
Level: Powered On

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 76 members 3,556 guests
Please welcome our newest community members: