How to assign structure to file content in download widget

How to assign structure to file content in download widget

  
Hi Outsystems Gurus
 I have created structure list of entity records using "ListAppend".
 I have all the data in structure list i.e. around 11 records.
 At movement I am getting only [0]th record of structure list because of assigned "File Content" in the    download  widget in that fashion (I showed in image below).
 I want to export that all 11 records into text file but I stuck to assign "File content" property of "Download Widget"
 
Detailed Description:
1. "StructureFNMA2Record" is my local variable for ListAppend Action
2. "StructureFNMA2RecordList" is my another local variable for ListAppend Action
3.  So how I can assign that structure list of ListAppend to File Content that I will get all the 11 records in text file with new line after each index value of structure list
please help me..

I am attaching oml file and image as well.
Please help me..


Hello Bankat,

I suggest you to do something like:



Here, you are iterating the list (that comes from the aggregate that is in the Preparation) and concatenating each record info into a text variable. Then you just need to convert the content of that variable to Binary Data:



I hope this helps!

Regards,
Thanks a lot Lara Luís its working..