As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I have an ASP.NET application that is calling 3 webfocus reports via a webservice one after the other. They have the option to get the output in excel, so after the return of the service, I check for the mime = application/vnd.ms-excel.
My issue is because there are 3 reports, excel doesn't seem to be opening fast enough, and the reports render back faster than excel can open, so I am losing report output. Has anyone had this issue before? If so, how did you fix it?
Code is as follows. I even tried putting it to sleep at the end of this, before the next report was rendered to give excel a chance to catch up.
If (ret.mime = "application/vnd.ms-excel") Then Response.ClearHeaders() Response.Buffer = True Response.Clear() Response.ContentType = "application/vnd.ms-excel" 'Response.AddHeader("Content-Disposition", "inline;filename=output.xlsx") Dim headerAttributes As String = "attachment;filename=" & report.name & ".xlsx"
Kowens, This is really much more of an ASP.net question than it is a WebFOCUS question.
They way you would handle this in ASP.net should be the same way you'd handle retrieving and displaying multiple Excel documents from any source via ASP.net.
Have you thought of posting on: forums.asp.net
I personally would almost wonder if the issue is that the web browser thinks its the same document coming back three times.
Have you tried targeting three separate i-frames with the outputs of these three Excel documents to see if it changes anything? The download HTTP Header's you have, *should* cause the file to download anyway even though its opening in an i-frame.
If this works proof-of-concept, there might be something more creative along these lines you could use.