49
Views
8
Comments
Excel File Download from Mobile Application

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.

2026-01-28 16-57-48
Mihai Melencu
Champion

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. 


2020-07-21 19-28-50
Rajat Agrawal
Champion
2022-12-30 07-28-09
Navneet Garg

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/


2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Rujul Sonawane 

Please take reference from this file-sample-app.

Here you can see the final implementation of the file plugin.

2023-11-22 10-51-50
Jozy Sohail

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.

2024-12-04 09-12-49
Rujul Sonawane

Hey Buddy,

Thanks for kind help, 

when i debug it is showing me this error

Please help

Regards,

Rujul

2023-11-22 10-51-50
Jozy Sohail

this will only work in real device, please check in real device as cordova will not be available in simulator.

Thanks.

2024-12-04 09-12-49
Rujul Sonawane

Hi, 

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.