DOWNLOADPDF
Creates and downloads a pdf file with a selection of app pages.
Last updated
Creates and downloads a pdf file with a selection of app pages.
Last updated
DOWNLOADPDF(pageInfo; fileName)
pageInfo - the name of the page which should be added to the pdf file, or a json text containing a list of pages to be exported - Value type: text (optional, default value: current page name)
Possible values:
text - the name of the page which should be downloaded as pdf file
json - see the function PDFCREATE for a detailed description of this option
fileName - the name under which the pdf file is downloaded - Value type: text (optional, default value: the name of the current page or the first page name in the json text)
fileName can only be specified if pageInfo is specified as well.
Example 1
A click on the "Download PDF" button downloads the current page as a PDF file.
Example 2
A click on the "Download PDF" button downloads the page "Dashboard" as a PDF file with the file name "MyDashboard.pdf".