Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Nuno Cavalheira Antunes
109
Views
4
Comments
Export to Excel (RecordListToExcel) How-to define sheet name?
Question
Hello,
I'm using RecordListToExcel and ExcelToRecordList to transfer user data into and out of the outsystems application.
ExcelToRecordList let's you define the Sheet name, but RecordListToExcel always creates "Sheet1".
This way the user as to change the sheet name if he wants to import back the data.
Is there any way to automatically set the sheet name of the exported excel file?
Thank you in advance,
Nuno Antunes
Daniel Lourenço
Staff
Hi Nuno,
In fact there is no way to control de sheet name in the
RecordListToExcel
tool.
But please be aware that the
SheetName
parameter is not mandatory in the
ExcelToRecordList
tool. If you leave the
SheetName
blank, the first sheet of the excel file is read by default (meaning that you will not have the problem of having to force your users to change the sheet name).
Regards,
Daniel Lourenço
OutSystems
Nuno Cavalheira Antunes
Hi Daniel,
Thank you for your input.
In fact the idea was to get some kind of "backup" with only one excel file and with several sheets, one for each entity, but with the flexibility of the user choosing what to backup on the app interface, and backup or restore on that single file.
But the ability to choose the sheet is only available on the XLSToRecordList.
So we can use this to "Bootstrap" the app with one single excel file, but are not able to use the same process to update the file.
Anyway, thank you for your input.
Regards,
Nuno
Paulo Ramos
Staff
Old thread that I found looking for a solution for the same problem...
Since I later found a (pretty easy) solution, I'm sharing it
here
(thread for the
Advanced Excel
component).
Daniel Lourenço
Staff
Thanks for sharing, Paulo.
This is great!
Regards,
Daniel
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...