Hi,
Iam using webviewer v2.2.0. Inorder to render pdf document.
i need to pass custom authorization header on initial load. I need to attach Authorization header which contains access token in the "initialDoc" property of webviewer intialisation. Is it possible to attach custom headers on webviewer initialisation code itself?
I can see code like below, where customheaders can be set for
this.webViewer.loadDocument(repUrl,{customHeaders:{
'Authorization': 'Bearer ********'
}});
Also how to refresh Annotations data when user clicks on a button?