utils.downloadFile downloads empty PDF

@socaljoker, can you try this syntax? The Utils JavaScript Library | Retool Docs
utils.downloadFile(data, fileName, fileType)

utils.downloadFile({base64Binary: pdfDataForSelectedInvoice.data['0'].icpdf },'Invoice #' + outstandingInvoicesTable.selectedRow.data['Invoice #'].trim(),'pdf')
2 Likes