To add content to a temporary file on the Ninox server
This function adds the given content to a temporary file, which will be accessed via a given link created by
Use this function in combination with
createTempFile()to render large or long-running exports.
appendTempFile(myURL, myContent)To add content to a temporary file on the Ninox server.
let linebreak := "
let header := "CustomerID,Revenue" + linebreak;
URL := do as server
do as server
for customer in select Customers do
let line := customer.Id + "," + customer.Revenue + linebreak;
Result: First, a temporary CSV file is created on the server and the link to the file is saved in the URL field. Then data from the Customers table will be added line by line to the file.