Filepath for pdf save
I would like to define a path to save invoices with a button.
I explain in my invoice I put a button with the action "importFile(this, printAndSaveRecord..." but I want to define a specific folder in my hard drive where the invoice pdf file would be saved.
Is this possible? actualy my database are on iCloud and I can't acces to this pdf file?
It also for me importnat to make backup of all my invoices.
You can not access the local file system with this function. Try using
This creates a PDF from the given record and print layout name. This would open the document with the default App.
Hi Birger, ok but there is a way to rename the .pdf file with printRecord()
you find more info on how to name PDF files in the release notes: