Export List view as CSV

0
Hello all, Is there a way to export a list view consisting of string only to a csv preferably without widgets ?   
asked
2 answers
1

Hi Jack,

 

Without Widget, it is possible too by using Grid(1) and

Export to CSV button | Mendix Documentation

 

If you run into limitations, consider my previous answer.

 

With regards,

 

Go Make IT

answered
0

Hi Jack,

I would use the OQL module https://marketplace.mendix.com/link/component/66876 it has logic to export the OQL query to CSV. I would also use the OQL as Data Source for that list. Don't use SELECT * as it will not work but name all the Attributes like:
'
SELECT
 E.Timestamp Timestamp,
 E.Application Application,
 E.System System,
 E.Model Model,
 E.Location Location,
 E.Country Country
FROM
 MyFirstModel.E-Report E
WHERE
..........

Go Make IT

 

answered