createTempFile
To create a temporary file on the Ninox server
This function creates a temporary file on the Ninox server with the given content and file name and returns a link to that file.
Only members of the respective workspace (team) can access the file via the link.
Use this function in combination with
appendTempFile()
rendering large or long-running exports. This function will only create a file if there is any content in it.
As this file is of temporary nature, it will be automatically deleted at some point. So don't take it for granted.
createTempFile(string, string)
link
createTempFile(myContent, fileName)
To create a temporary file on the Ninox server1
URL := do as server createTempFile("CustomerID,Revenue
2
", "export.csv")
3
end
Result: The URL field contains a link to the export.csv file.
Last modified 1yr ago