Hello,

I would like to download, with a button, the information of the aggregate, in .csv or .txt format, is it possible? with the following separation ";" to import it into another tool.


Can you give me a screenshot of how the Screen Action would look?

Thanks.


Regards

Solution

Hello Josep Chaqués Ojeda

yes it's possible, I am attaching the screenshots, please take a look 



For converting Record list to CSV file you can use this component:https://www.outsystems.com/forge/component-overview/636/csvutil , even I used the same in the above example I showed you, 


I hope this helps you,


cheers

Srinivas

Solution

Srinivas Singadi wrote:

Hello Josep Chaqués Ojeda

yes it's possible, I am attaching the screenshots, please take a look 



For converting Record list to CSV file you can use this component:https://www.outsystems.com/forge/component-overview/636/csvutil , even I used the same in the above example I showed you, 


I hope this helps you,


cheers

Srinivas


Perfect! but I have a question, in the Download Widget, What could I add in "File content"? Attachment screenshot

Thanks!

Regards,

Josep

Hello Josep Chaqués Ojeda

In download file content you need to add the output of the ExportRecordlist



For Example in the above example its like this :

SyntaxEditor Code Snippet

TextToBinaryData(ExportRecordList2CSV.Csv,Encoding:)

and also here I am attaching the screenshot here,

I think you got a solution for your problem if  you got the solution then plz mark the solution so others will will also get to known

cheers

Srinivas


Srinivas Singadi wrote:

For Example in the above example its like this :

SyntaxEditor Code Snippet

TextToBinaryData(ExportRecordList2CSV.Csv,Encoding:)

and also here I am attaching the screenshot here,

I think you got a solution for your problem if  you got the solution then plz mark the solution so others will will also get to known

cheers

Srinivas



Perfect, but...where is the TextToBinaryData?


Thanks you.

Regards

Hello Josep Chaqués Ojeda

you will get that component in Forge

for example its look like this :


Hi Josep,

You can reference the BinaryData API from your Manage Dependencies screen in Service Studio. No need to download it from the Forge as it is already built-in.

Regards,

Nordin

Yes Nordin is right, I forgot that you need to just add the reference for the dependencies, thanks Nordin  

Srinivas Singadi wrote:

Hello Josep Chaqués Ojeda

you will get that component in Forge

for example its look like this :


Now!!! Thank you!!!

Ragards,