Page 1 of 1

csv export button

Posted: Wed Apr 11, 2018 11:49 am
by ecodinom
Hi, I'm new to nuBuilder.

Is it possible to show a button in the form view that allows the form to be exported in a .csv file? I found on this board some php code that should enable this functionality (here) but I have no idea about where to put it.

Thanks

Re: csv export button

Posted: Wed Apr 11, 2018 2:03 pm
by tonyd
Just shooting from the hip, but you could probably just put your code in a nuBuilder "Procedure" then create a button to run it.

Re: csv export button

Posted: Wed Apr 11, 2018 7:31 pm
by ecodinom
Hi, thank you for your reply.

I'm not sure how to do it: what should I put in the "Group" and "Launch from" fields?

Re: csv export button

Posted: Wed Apr 11, 2018 8:55 pm
by tonyd
For what you are trying to do I would set it up like this:
procedure.jpg
Don't worry about the Group setting.

Re: csv export button

Posted: Thu Apr 12, 2018 3:00 am
by admin
ecodinom,

What is it exactly that you're trying to do?

Export just 1 record (from an Edit Form) or a group of records (like the group of records in a Browse Form)?

Steven