Hi,
I have a Power Apps form and I see a strange issue where the attachments field on the form is showing the attachment that was attached for previous item. This is happening when a new item form is opened. Why is power apps trying to cache this value?
Any thoughts as to how I can prevent this?
Thanks
Solved! Go to Solution.
Hi @cooltechie ,
Please try to delete the whole Attachments data card from the form control and then readd it from Fields.
Regards,
Mona
@cooltechie and @RezaDorrani ,
Requesting your help on the same Issue , I have tried all the approaches mentioned in this thread .
SP Integration New/Edit/View - ResetForm(),Refresh(DataSource)
Removed the Attachment Datacard and added back to the form again
I have added the code as below ,
OnNew :
ResetForm(SharePointForm1);
NewForm(SharePointForm1);
OnEdit :
ResetForm(SharePointForm1);
Refresh('RMR-PA-Design');
EditForm(SharePointForm1);
OnView:
ResetForm(SharePointForm1);
Refresh('RMR-PA-Design');
ViewForm(SharePointForm1);
But Still I am getting the same Issue
Requesting your help to resolve this Issue .
Regards,
Mahesh
I am also facing the same Issue. Requesting your help to resolve this Issue.
Regards,
Chaitanya
I was able to work around this by applying the following in the SharePointIntegration > Property > onView
OnView:
Refresh('datasource');
ViewForm(SharePointForm1);
ResetForm(SharePointForm1); <<--- notice the order that it comes right after ViewForm
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
194 | |
45 | |
45 | |
44 | |
37 |
User | Count |
---|---|
280 | |
81 | |
81 | |
81 | |
69 |