cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Support Team
Community Support Team

Re: Powerapps - Cannot Clear Attachments

Hi @Anonymous,

 

Please check and see if the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/General-Discussion/How-can-we-reset-the-attachment-field/td-p/136245

 

When you navigate from other screen to the Edit screen (contains the Edit form), please take a try to set the OnSelect property of the "Navigate" button to following formula:

ResetForm(EditForm1);NewForm(EditForm1);Navigate(EditScreen1,ScreenTransition.Fade)

Note: The Editform1 represents the Edit form within your Edit screen.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

Re: Powerapps - Cannot Clear Attachments

Kris,

 

Thanks!  That worked.

 

- David

Re: Powerapps - Cannot Clear Attachments

Kris,

I'm having the same issue that David had, but your solution isn't working for me.  I'm trying to do almost the exact same thing.  I have a form with an attachment control included.  When I run the app, enter data, add an attachment, and click the Reset button, the attachment actually changes to an older attachment from a previous attempt. What the what?!  If I click on the X icon for the attachment, it clears fine, but not when I use the button.  The function I'm trying to accomplish is for the user to clear out any information they've put in the form so they can start fresh.

 

Here's what I have on my OnSelect property (Form1 is the form with the attachment control):

 

ResetForm(Form1);NewForm(Form1);Navigate(Form1,ScreenTransition.None)

ThomasFoster
Level: Powered On

Re: Powerapps - Cannot Clear Attachments

Was a solution found for this?

 

I have a similar situation where a user can submit a form with an attachment, then after submission they can choose to submit another. I have used both resetform and new form and both will reset all other fields but any attachments do not reset.

Burner1
Level: Powered On

Re: Powerapps - Cannot Clear Attachments

Don't think so. And since this issue is marked as 'Solved' I have created a new topic:

https://powerusers.microsoft.com/t5/General-Discussion/Cannot-Clear-Attachments-in-PowerApps/m-p/185...

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,257)