Skip to Content
0
Jan 30, 2020 at 10:15 PM

Capture Webi export command for custom call

98 Views Last edit Jan 31, 2020 at 12:00 PM 2 rev

We are trying to make the export function work from the Web Intelligence viewer in our products browser control. We are using Microsoft's WebView browser control, and it has an issue when exporting a file to PDF. I can capture the failed event, and I have the following URIs,
1.

https://OURSERVER/BOE/OpenDocument/1907091710/AnalyticalReporting/webiDHTML/DownloadPDForXLS/we000000006977d88fbfb2/REPORTNAME.pdf
2.

https://OURSERVER/BOE/OpenDocument/1907091710/AnalyticalReporting/webiDHTML/viewer/downloadPDForXLS.jsp?iViewerID=1&sEntry=we00000000d7b4bf66b330&iReport=0&iReportID=14&sPageMode=QuickDisplay&sReportMode=Viewing&iPage=1&zoom=100&isInteractive=false&isStructure=falseā‰ˆpKind=OpenDocument&CurrentReport=Y&viewType=P&page=Current&dpi=Default

Is there anyway i can make another call out to anything and just have this PDF downloaded to the computer within my C# application? I have tried using a WebClient object to download the file at the first URI but i just get the following

<html>
<head>
<script type="text/javascript">
parent.location = "/BOE/OpenDocument/1907091710/OpenDocument/opendoc/openDocument.faces";
</script>
</head>
</html>