Greetings!
Using the PDFVIewer’s url property does NOT call the onBeforeAjax callback.
Looking at the code, Webix does not allow for the PDF.js ‘httpHeaders’ property to be included in the getDocument call, so there’s no real way to provide headers to the server.
The only work-around I can think of is to fetch the Base64 data from the server, then call the PDF.js API with the PDF data bytes.
Could you recommend any other advice?
Many Thanks,
Bruce