Hi Team,
I have build a mobile application and i want to give a feature to users i.e. to download all the data present in the table they can download in that data in an excel format, I have tries several ways like forge components but that didn't help.
Please help in this matter.
If anyone can share .oml file would be apricated.
Regards
Rujul S.
Hello @Rujul Sonawane ,
Please check out this post it might be helpful to you: https://www.outsystems.com/forums/discussion/57815/list-export-to-excel-sheet-and-download-this-excel-in-outsystems-mobile/ .
You can also search for other related posts in the forum.
Hi @Rujul Sonawane
Try to refer below forge component.
https://www.outsystems.com/forge/component-documentation/1409/file-transfer-plugin-o11/0
Regards ,
Rajat
You need device permission to download files in mobile application. there are couple of pluings for that. you need to try for both iOS and android.
To download a file in an OutSystems mobile app, you can use the "File Transfer Plugin" which allows you to download files directly to the user's device, enabling functionality for both mobile apps and Progressive Web Apps (PWAs); this plugin provides advanced features like background downloading and progress updates during large file transfers.
https://success.outsystems.com/documentation/outsystems_developer_cloud/integration_with_external_systems/mobile_plugins/file_transfer_plugin/
Hello @Rujul Sonawane
Please take reference from this file-sample-app.
Here you can see the final implementation of the file plugin.
Hi,
you can use the file plugin and file viewer plugin from forge to download excel in mobile.
1. create the binary from database table to excel.
2. then use create directory from file plugin to create the directory in your device.
3. the use the save file action from file plugin to save the binary data.
4. then use the open document action from file viewer plugin to open the binary file and save it.
hope it helps.
Hey Buddy,
Thanks for kind help,
when i debug it is showing me this error
Please help
Regards,
Rujul
this will only work in real device, please check in real device as cordova will not be available in simulator.
Thanks.
I am trying on my android tablet. also i have generated a new application file from lifetime and then again installed, it is not creating a directory as well on ,my phone
Please help further