Working of new CSV module

2
In the appstore Mendix added a new module for exporting CSV files from your application (https://appstore.home.mendix.com/link/app/108605/)  I tried to use it, but the lack of documentation how to set up is not helping me to finish it with a good result.   Anybody has used it and solved the set up?  My requirement: i want to export one entity into a CSV file, look simple isn't it? ;)
asked
5 answers
2

Have you tried downloading the GitHub repository using the GitHub link in the appstore? That might help to get going.

answered
3

I recently uploaded EntityListToCSV which is a very simple CSV exporter, but it may be of use here.

Just build a list of non persistent entities, and pass it to the exporter. It will go through every String attribute in every entity and export it. It will ignore any other type of attributes, so convert anything else you want to export to a String first.

https://appstore.home.mendix.com/link/app/108430/

answered
0

Although there is a button for datagrids “Export to csv”, there is no activity doing this. Bizar that an app is needed.

answered
0

The only (?) problem i still have is that it only writes one line while the entity has 8 lines. So i made somewhere a mistake. Any thoughts?

This is the microflow where i used it: 

https://modelshare.mendix.com/models/45cdf362-65c3-4f03-9469-92fe7b9fe2c3/export-to-csv

 

answered
0

What ended up being the solution for this question?

I too am using the CSV module to export data from a REST call. I have a loop that iterates through a list that contains each object and have the “write next line” as the activity within the loop but I am not sure if it is working. It does not have any errors and runs through the microflow fine until it returns back to the “Export CSV” action. Not sure where to go from there.

answered