Search
⌃K
Links

Files and Printing

An overview of functions, that help you to manage files and printing

​appendTempFile​

To create a temporary file on the Ninox server

​createTempFile​

To add content to a temporary file on the Ninox server

​createTextFile​

To create a text file with a given name and content

​createZipFile​

To create a zip archive including all files of a given file array

​file​

To return a specific file based on the file name from a given record

​fileMetadata​

To return the metadata, like file name, size, and modification date of a file based on a given record and file name

​files​

To return all attachments of a record as an array

​importFile​

To import a file from a URL and save it as an attachment of a record

​loadFileAsBase64​

To convert a file to base64 format
To convert a file to URL-compliant base64 format

​openPrintLayout​

To open a record in a given layout in the print layout editor

​printAndSaveRecord​

To save a given record in a given layout as a PDF in the internal file system and return a link to the file

​printRecord​

To print to a PDF from a given record in a given layout and open the file with a program set as default

​printTable​

To print the visible columns of a given view according to your database settings (PDF or HTML)

​shareFile​

To return an URL of a specific file

​unshareFile​

To unshare a given file

​unshareView​

To unshare a given view of a given table