Store generated PDFs
Hi, I'm generating reports weekly. One for myself, and one for the employees. I have it setup as it shown on the screenshots. So every week I'd filter by dates and generate a PDF that I can download for myself or email to the employees. The PDF is generated every week, so the newly generated PDF appears under "PDF" field in place of the old one, but I'd like to store the previous records somewhere where they'd be easily accessible, I basically need to store only generated PDF and it's name generated by the dates, and as for the drivers with their name and dates, or store them within their records. How can I achieve that?
5 replies
-
You probably want to create a new table that stores just your printouts. From what I've seen on Nioxus' webinars is they don't link their document table to any other table. The document record has field(s) that store recordId of the tables that you want it to link to. I think the thought behind is that the docs table can deleted without breaking anything. In case it becomes too big, I think.
So for you, you would store the document, have a file name, a print date, probably a child table that stores all of the recordIds you need to link to.
Then you would modify your buttons to store the documents in the new table.
Content aside
- 2 days agoLast active
- 5Replies
- 55Views
-
2
Following