printAndSaveRecord
To save a given record in a given layout as PDF in the internal file system and return a link to the file
This function prints a record in a PDF and saves the PDF in the internal file system of Ninox.
You will get a link for either internal access to the file or save it in a record with the
importFile()
function.This function works also for Carbone templates and allows you to add optionally a JSON to overwrite the record data for the template.
printAndSaveRecord(nid, string)
printAndSaveRecord(nid, string, JSON)
link
printAndSaveRecord(record, myLayout)
To save a given record in a given layout or Carbone template as PDF in the internal file system and return a link to the file.1
printAndSaveRecord(this, "Invoices")
Result: https://dbde0000.ninox.com/AbCD1234/12345xYZzyX/loadfile/Invoices.pdf?
You will get a link to the PDF.