Announcements
Hi Folks,
I'm trying to build a canvas app with offline capability which should also support handling attachments locally (Any doc type). I have tried using save data and load data functions for the offline functionality and it works fine for list item values. For list item attachments when I try to pass file content and other parameters to the flow I'm getting below error.
The file I'm trying to send was saved in local during a previous offline session and I'm trying to save it to SPO when app is online. Any insights on this will be helpful.
Thank you.
I'm trying to create a POC utilizing offline capability of canvas app. Everything works fine except attachments. Attachments are not showing up in offline mode for any items. All other details are coming up as expected. I have stored entire list in a collection and cached in local device. The attachments are present in Collection.Attachments for each item. It appears for selected items while in online mode, but not in offline mode.
Any suggestions on this? Anyone worked on similar scenario?
Thanks.
Hi @rbn_nue ,
You cannot add attachments (the file content of them) to anything other than an online data source due to the way the attachment control stores and writes this content. The only real option is to store the file on the device and attach it when online.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Hi @WarrenBelz ,
Thank you for the response. Is there anyway we can let user upload file to canvas app without using attachments control?
The below are the scenarios I'm trying to cover:- If app is offline, let the user upload attachments and later sync it with SPO when app is online.
- User should be able to see previously uploaded attachments (and download it) even when offline. Currently attachment control is blank when opened offline, even though I'm using local collections to show data in attachments.
Any suggestions?Thank you.
As I mentioned, you need to save the attachments on the device and upload them when online. Attachments simply do not work offline.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 401 Most Valuable Professional
11manish 201 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2