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 / How can we reset the a...
Power Apps
Answered

How can we reset the attachment field?

(0) ShareShare
ReportReport
Posted on by

 

We are trying to implement a new form that emulates a wizard (3 screens). If we use the Submit function, only the fields on the last screen will be saved into SharePoint. That is why we used the Patch function.

 

Now, we have the problem that the content of the "previously entered value of attachment field" is still shown in every new form.

 

Can someone help us?

 

Thanks a lot.

Categories:
I have the same question (0)
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @ATCancom,

     

    Are you working with the SharePoint list custom form, or the Apps built from SharePoint list?

     

    Please first review the limits for the current attachment control:

    Attachment control in PowerApps

    Quoted:

    "

    1. Attachment upload only works with SharePoint list data sources. Support for other data sources will be introduced incrementally, starting with CDS.

    2. Upload and delete functionality only work inside a form. Attachment control will look disabled when in Edit mode and not inside a form. Note that in order to save the file additions and deletions to the back end, the end user must save the form.

    "

    Would you please explain a bit for "Now, we have the problem that the content of the 'previously entered value of attachment field' is still shown in every new form."?

     

    If here you would like to submit new record, then please take use of NewForm() function, and if you have added multiple forms, then all the forms should be reset by the NewForm() function. As there is no Reset property available for this control, we need to Reset the form with NewForm(), in order to Reset the controls added within the form.

     

    For SharePoint list custom form, under the OnNew property of the SharePoint integration.

    NewForm(Form1);NewForm(Form2);...

    For the Apps generated with SharePoint list data source, with the Create "+ " button, 

    NewForm(Form1);NewForm(Form2);...;navigate(EditScreen, ScreenTransition.Fade )

    For how to work with forms, see:

    EditForm, NewForm, SubmitForm, ResetForm, and ViewForm functions in PowerApps

    EditForm and Display form controls in PowerApps

     

    Regards,

    Michael

  • Soyeb_Malek Profile Picture
    21 on at

    I am also facing same issue with SharePoint List form. After submiting form using powerapp couple of times, it come with previous attached file by default. 

     

    Any help would be appreciated.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard