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
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.
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.
Is anybody there to assist me to resolve this?
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional