Announcements
Hello there!I have an attachmentcontrol where I run a power automate flow that sends the document to a sharepoint folder using the 'OnAddFile'. Whenever I add an attachment, the attachmentcontrol gets emptied when the flow is ran. If I comment out the power automate part, the documents stack up in the attachmentcontrol. The functionally works great, but how can I avoid the attachmentcontrol from being emptied?
Hi @efeewfew, check the formula that run the flow to make sure that there is no Reset(attachmentcontrol) after the flow.
Example: UploadDocument.Run(attachedFiles, JSONFormat.IndentFour); Reset(attachedFiles)
Hey @Tchesco
Thank you for your response, I have looked in my code and I do not run any Reset function anywhere.
I noticed some weird issue when adding a document using an IPhone, my users get navigated to the homepage everytime they add a document... this strange issue does not happen when using Android.So to avoid this issue, I have a navigate at the end of the OnAddFile, so navigate them back to the screen where they can add documents. This seems to empty the attachmentcontrol....How can I fix this strange issue?
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 529 Most Valuable Professional
Haque 230
Kalathiya 217 Super User 2026 Season 1