Now that I have created my first report and can generate it on-demand, I need to start thinking in terms of how to automate reporting. I’ve done this successfully in my Access application, and want to reproduce it in Five. I don’t necessarily want to do things the the same way I do in Access, but want to take advantage of the Five architecture and do things the “right” way. Here is what I do in Access to email reports to board of directors:
I already have tables that describe what board positions there are, what members are filling those positions, and what reports each position gets. Using those tables, I generate the reports as PDF files, then send emails to the board members with the report(s) attached. Since several board positions may get the same reports, it is inherently inefficient because board members end up getting several different emails, each with a single report attachment. There is a many-to-many relationships between people and reports, and this generates a LOT of emails.
What I’d rather do, if Five supports it, is to send an email to the particular person with a list of their reports in the body of the email, each report name having a hyperlink so they can click on it and download the file directly to their downloads folder. Theoretically, they wouldn’t even have to log in to Five to do this, if a simple link to the generated report is embedded in their email body.
First question:
Can Five generate a PDF report and supply a hyperlink to that report which will cause the report to be downloaded to their computer downloads folder when the hyperlink is clicked even outside of Five itself?
Second question (if yes to first question):
Can you point me to the documentation which shows how to do this, and/or supply instructions if there is no documentation?
Third question (if yes or no to first question):
How long do the reports “last” on the server before they get deleted? Do I need a process to delete them, or can they “time-out” and be deleted automatically?
There are quite a few more questions, but one step at a time.
Thanks…