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 / PowerApps List Form At...
Power Apps
Unanswered

PowerApps List Form Attachments Are Not Resetting & Retain An Old Document.

(0) ShareShare
ReportReport
Posted on by 79

Hi All,

 

I have created a PowerApps form by customizing a SharePoint Online List.


In that list I have several fields including an attachment control.

 

To submit the filled form, I use a Submit button.

 

When I submit the form, every form control get reset except the attachment control and it retains a document that doesn't exist anymore in the list.


I investigated this and identified that this document is showing in the edit form and in the view form as well. But in the first new form it's not showing.

 

I have created a message box named 'mypopup'.

 

I have tried the below property changes in the Submit Button.

Submit Button
----------------------------------------------------------------------------------------
OnSelect - SubmitForm(SharePointForm1); ResetForm(SharePointForm1); Navigate('New Form')

 

SharePointForm1
----------------------------------------------------------------------------------------
OnSuccess - NewForm(SharePointForm1); Set(mypopup, true); Navigate('New Form')

 

Please can someone help me to resolve this?

Thanks

Categories:
I have the same question (0)
  • ChiranJay Profile Picture
    79 on at

    Is anybody there to assist me to resolve this?

  • venka91 Profile Picture
    1,119 on at

    For Edit Form and View Form, Check which record id it is pointing to ?

    As new Form shows the Attachment control empty, your edit form and view form may be pointing to incorrect record from the list. Please check.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Had similar problem. By default when you customize a Sharepoint List form the Item field populates with: 

     

    If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First([@'Request Manager']),SharePointIntegration.Selected).

     

    I think the last part is the issue since the default form gets used for View and Edit operations in the Sharepoint list, it defaults to showing the first item in the list when nothing else is indicated. I was building a form purely for record intake so didn't care about record management. I deleted the string above and all seems to be working.

     

    As a precaution I also removed any form operations from the Sharepoint integration OnEdit and OnView fields to disable those functions. That maybe not necessary but I'm no expert at this.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard