266
Views
2
Comments
Solved
How do I create and download an excel file populated with local variables (Reactive)

I'm creating a tablet app where a user fills out a form with name, address, etc. These values are stored in local variables. 

What I want to do is download that information locally onto the device running the app as an excel file. I'm having problems as the download and excel widgets don't show up on the logic screen for "Client Action". 

Do I have any options to download files without using a server database?

2023-10-21 19-42-11
Tousif Khan
Champion
Solution

Hello Conner,

Check this Link
https://www.outsystems.com/forums/discussion/54755/how-to-export-record-list-to-excel-in-reactive-web-app/
You Have to create the logic in Server action because Export to excel Widget is available in Server action,
you can use the output as a binary data type, and you can download that binary file  from the download widget that is available in your client action.
If you want to do it Client Side use This Forge component, it has client actions for different scenarios

Reactive Export as Excel

I hope this helps
Thanks,
Tousif Khan

UserImage.jpg
Conner McCarthy

Thanks Tousif!!

I would like to learn how to set up the server action exports, but for this app I'm trying to keep it client side and the JSON to Excel component looks like it'll work. 

-Conner

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