michoel
12/31/2019, 12:42 AMN/render to generate the PDF and context.response.writeFile to write it to the responseKaran
12/31/2019, 12:43 AMKaran
12/31/2019, 12:44 AMvar transactionFile = render.transaction({
entityId: cashSaleId,
printMode: render.PrintMode.PDF
});
context.response.writeFile(transactionFile, true);Karan
12/31/2019, 12:44 AMmichoel
12/31/2019, 12:52 AMcontext.response.writeFile({ file: transactionFile, isInline: true}) but the API does usually accept that undocumented version. What happens when you try that?Karan
12/31/2019, 12:59 AMKaran
12/31/2019, 12:59 AMmichoel
12/31/2019, 1:04 AMmichoel
12/31/2019, 1:04 AMKaran
12/31/2019, 3:29 AM