Filepath for pdf save
Hello,
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.
Thierry
3 replies
-
You can not access the local file system with this function. Try using
printRecord(recordId, layoutName)
This creates a PDF from the given record and print layout name. This would open the document with the default App.Birger
-
Hi Birger, ok but there is a way to rename the .pdf file with printRecord()
Thanks
Thierry
-
Hi,
you find more info on how to name PDF files in the release notes:
https://ninoxdb.de/en/blog/ninox-release-2-4
Best, Alex
Content aside
- 6 yrs agoLast active
- 3Replies
- 3005Views