I cannot get this to work, searched forums etc
1) I added a CSV export function, data provider is "{var:read_articles}" it always shows an empty CSV
2) How do I add a button to launch the CSV function? Whenever I add button with {fn:csvexport} as link, it triggers download on view.
Any help is appreciated
1) I added a CSV export function, data provider is "{var:read_articles}" it always shows an empty CSV
2) How do I add a button to launch the CSV function? Whenever I add button with {fn:csvexport} as link, it triggers download on view.
Any help is appreciated
Hi jhdesign,
Apologies for the late reply.
The button will need to be a "link", and the url will have to point to an "event", and in the event you are going to call {fn:csvexport}
The "data provider" of the csv action will need to get the correct list of records, assuming your read data is configured to select "all matching records", the syntax will be something like this:
Best regards,
Max
Apologies for the late reply.
The button will need to be a "link", and the url will have to point to an "event", and in the event you are going to call {fn:csvexport}
The "data provider" of the csv action will need to get the correct list of records, assuming your read data is configured to select "all matching records", the syntax will be something like this:
{var:read_data_name.[n].Model_name}
Best regards,
Max
This topic is locked and no more replies can be posted.