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
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
Srinivas Singadi wrote:
Perfect! but I have a question, in the Download Widget, What could I add in "File content"? Attachment screenshot
Thanks!
Regards,
Josep
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
Perfect, but...where is the TextToBinaryData?
Thanks you.
you will get that component in Forge
for example its look like this :
Now!!! Thank you!!!
Ragards,
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.
Nordin
Yes Nordin is right, I forgot that you need to just add the reference for the dependencies, thanks Nordin
Hello Srinivas,
i went throw the source code of the extension and didnt find attribute AttrFilter available there to pass the column names to export.
Can you suggest/share the path of the extension/source where i get the RecordListToCsv function with AttrFilter attribute?
Good afternoon Sopan Vaidya !
you can find this RecordListToCsv function with AttrFilter attribute here:
https://www.outsystems.com/forge/component-overview/636/csvutil