I have a PDF viewer that is loading base64 encoded PDF data from MSSQL and it works great and the PDF displays properly. It pulls the base64 PDF data from:
utils.downloadFile(atob(pdfDataForSelectedInvoice.data['0'].icpdf),'Invoice #' + outstandingInvoicesTable.selectedRow.data['Invoice #'].trim(),'pdf')
But when I open the downloaded PDF, every page is pure white. What am I doing wrong?