An SAP developer suggested that I change the property in the following code from true to false :
IWDWindowInfo windowInfo = (IWDWindowInfo) wdThis.wdGetAPI().getComponent().getComponentInfo().findInWindows("DisplayPDFSummSheetWindow");
IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, false);
wdContext.currentPopupElement().setWindowInstance( window );
window.setWindowSize( 800, 600 );
window.setWindowPosition(50, 50);
window.open();
STILL DOESN'T WORK.
Would loading the PDF in another separate browser window solve the problem?
The method createExternalWindow requires an URL for the PDF. How do I get the PDF's URL?
we've considered that method but the createExternalWindow() method requires the URL of the pdf. But our pdf's URL is dynamic coz it's generated on the fly. So far, we've been unable to get the PDF's url.
Any other ideas? Or is this another bug that needs to be fixed?
Add a comment