createReport
Creates a report on the Server and retrieves it to the client. The only format, currently supported is pdf.
Parameters
Example Usages
app.createReport("invoiceReport", { print: true }); //will create the invoiceReport as a pdf and prints it on the client sideapp.createReport("invoiceReport", {
print: true,
archive: true,
documentTypeId: 1,
saveFileName: "myPrint.pdf",
});
//will create the invoiceReport as a pdf and prints it on the client side, it will also save the pdf as an attachment to the current record.Create a report and send it to a cloud printer
Return Values
Last updated