Dear Friends,
I am new in Appgini. I have requirement to mail all selected records diaplay in print preview page to a client mail ayaddress.
Please help me find out the solution.
Regards
Divya
email All Sected records in print page
-
- Posts: 2
- Joined: 2013-05-23 11:46
email All Sected records in print page
- Attachments
-
- question1.jpg (51.23 KiB) Viewed 3384 times
Re: email All Sected records in print page
I would reccomend you export to CSV, do the sort and then email the file.
Tina O'Connell
Web Dev & Appgini FAN
Web Dev & Appgini FAN
Re: email All Sected records in print page
This would not be hard to do. If I get some time, but most likely not until late August/September, I will see if I can send/post the code. Here is what is needed.
The sort or selection criteria for the data needs to be known and then it is just a matter of running a function or code to send out the emails. I sort of do this with one site but not quite in this way. To get the records you had to do some sort of sort or filter. The conditions for this filter can then be held, for example, in a variable and then that is used to populate the command(s) for data selection and send the emails. Or take the array data needed to fill in the table above use that as data and send emails.
Many ways to approach this problem. Biggest problem is time.
It would eliminate the CSV export step and let it do what computers do best - automate the task.
Alan
The sort or selection criteria for the data needs to be known and then it is just a matter of running a function or code to send out the emails. I sort of do this with one site but not quite in this way. To get the records you had to do some sort of sort or filter. The conditions for this filter can then be held, for example, in a variable and then that is used to populate the command(s) for data selection and send the emails. Or take the array data needed to fill in the table above use that as data and send emails.
Many ways to approach this problem. Biggest problem is time.
It would eliminate the CSV export step and let it do what computers do best - automate the task.
Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -