2312
Views
10
Comments
Export to Excel

Hello,

I am trying to export an aggregate list to excel. I want to maintain my own specific sequence of columns in the downloaded excel. How can I achieve it?

Thanks in advance.

2019-08-28 11-43-22
Bruno Marques

Hi Neha,

I will try to explain it with an example. Suppose that I want to export the information about all the Users.

On the aggregate the information comes as following:

Age    Name     Surname

But I want to export to excel with the columns:

Name  Surname   Age

To achieve that, I do the following steps:

  1. Create an Export link on my web screen.
  2. Create a screen action for the destination of the Export link.
  3. On the screen action, drag the aggregate GetUsers.
  4. Create a structure named UsersToExcel.
  5. Create the following attributes in this order: Name (Text), Surname (Text), Age (Integer).
  6. Create a local variable of type UsersToExcel List.
  7. Do a ListAppendAll from GetUsers to UsersToExcel List and map the attributes from the aggregate to the structure list.
  8. Drag the widget RecordListToExcel with the UsersToExcel list as the RecordList.
  9. Drag the Download widget after the RecordListToExcel and assign the file content to the output of the RecordListToExcel and FileName to "Users.xlsx"

Hope it helps

Best Regards!

2025-11-19 06-14-01
Miguel Verdasca
Champion

Hi, 

please check this document, you will find all information: How to Export Entity Data to Excel

Cheers


2020-02-05 04-54-55
Changalrao Bairaboyana

Hi,


You can select the attributes you want in your excel to be downloaded. See the screenshot below.


Hope that helps.

UserImage.jpg
R Y

Changalrao Bairaboyana wrote:

Hi,


You can select the attributes you want in your excel to be downloaded. See the screenshot below.


Hope that helps.

 

 Hi Changalrao, I don't quite seem to have the Record List To Excel action available in my side bar. Could you advise? Thanks!

2021-02-22 07-24-17
Krishna Moravineni

Record List to Excel or Excel to Record List nodes are available only in the server actions. 

If you are working on Reactive applications, most probably you might be trying to add those nodes in Screen action which is a client side action.

To achieve this, create a server action in logic tab with relevant input parameters and you can use those nodes for your case.

Hope this helps.

UserImage.jpg
Yaron Ben

How can I get the Download widget appears on this screenshot? 


2014-10-21 20-15-17
Alberto Ferreira

Hi Yaron

You wake up an old discussion from more than a year ago.

It would be better to start a new discussion. That way, if someone replies with a solution, you can mark it as such.

2025-11-19 06-14-01
Miguel Verdasca
Champion

In this forge component Advanced Excel you will find some different features, about export to excel.

UserImage.jpg
Jaydeep Kadam

hi All,

I can't see "Exportlist to Excel" widget in toolbox. I am using reactive web app.


Any reason?


Thanks,

Jaydeep


2021-03-18 21-03-15
Benjith Sam
 
MVP

Jaydeep Kadam wrote:

hi All,

I can't see "Exportlist to Excel" widget in toolbox. I am using reactive web app.


Any reason?


Thanks,

Jaydeep


 

Hi Jaydeep,

It is because the RecordListToExcel and ExcelToRecordList action flow node is only available within the Server action flow and in the Reactive web application within the screen scope you might be dealing with the client action which doesn't have the ExcelToRecordList and RecordListToExcel action flow node.


Hope this helps you!


Regards,

Benjith Sam

 

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