Hello,
I need to get the Pdf document from a HTTP Request where I get, each time, a different PDF document as base64, or a token through which I can access and download the PDF (for example, api-site.com/downloadFile?token=TOKENHERE AND the GET has to be with a custom header: Token: <tokenhere> or just use the base64 file)
So, I really don't know what I can do in this scenario to achieve this requirement. I thought about making the request BEFORE moving to that window and then pass the base64 through constructor, though I don't even think it's possible to initialize SfPdfViewer with base64.
I really need your expertise and experience on this case - what's the appropriate solution? Performance is less relevant.
Thanks!