Can someone pls share a clear and step by step info on how to export my current list view of records that I see on the screen to csv? and also pdf?
I just need to add a button at the end of page where if clicked it would export to csv. also I need pdf.
You have to read the data again then export.
thanks
Any how to to follow up and see how can this be achieved?
anyone there???
Im using the readall function then view table then added export csv but the problem I only get the download csv and its empty.
shall I create another function to read or what exactly??
What have you got in your csv export?
No, what have you got in the settings of your CSV export action?
yes now its working fine
just wondering how can I add it as a button to export the current view only??
Use a toolbar button. List view name will be the name of the form element the filter options are in, event will be the event the CSV export is in.
You need to read the data again, which is why you're submitting the filter form.
do you mean create another function / action to read data?? or just insert the read db function/action before the export in the event of csv export?
Just use the same read data
dear sir
the csv is exportign fine but the main problem is that all fields are exported despite the fact that the current view is few columns only. how can I reflect the csv to have my current view only.
in my csv event i have two lines
fn:readdb
fn:exportcsv
what im thinking is that is there a way to make a function that returns the current view?
No there's not.
Just restrict the read data action to only the fields you need.