Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
save the output
 Login/Join
 
<Happy_sing>
posted
hellow all:
I want that to add a button on the page, when users click it,will show a dialog box to ask them that open the output or save it in their disk.
how can i do?
does webfocus support this work?

p.s the output is file.xls (EXL2K)

thanks for any suggetion! Smiler
 
Report This Post
<JG>
posted
Happy_sing, The problem is not with WebFocus, it is with IE. Microsoft believe that everything downloaded to a browser potentially belongs to them, and so when they interoperate the document they first check to see if it is a format they can control.

WebFocus actually generates EXL2K documents as XHT (Extended HTML) and because WebFocus uses a redirect in its mime processing IE assumes that they are EXCEL documents. WebFocus cannot change this. However a potential solution is to use the technique from the following link.

http://www.planet-source-code.com/vb/scripts/ShowCode.a...CodeId=2183&lngWId=2

I must be very honest I do not know enough about it to say if it will deliver what you want, and it requires a large degree of JSP ability.

To make it work however you must save your report to a permanent location.

Other alternatives for your problem present themselves, either Report Caster, deferred reporting or using Report Library. If you are a MRE house , deferred would be the obvious choice.
 
Report This Post
<Happy_sing>
posted
Thank you so much ,JG Smiler
I will try your suggestion ~
 
Report This Post
Gold member
posted Hide Post
Happy_sing,

As mentioned above, this is not a WebFOCUS issue. On Windows machines, this is an individual configuration of the OS.

Try this (assuming you're on Windows):

Go to Start --> Control Panel --> Folder Options
Click the tab called File Types
Find the file type XLS and click Advanced
There, under New or Open, place a checkmark under "Confirm open after download"

Doing this will always prompt the user on what to do when the browser tries to receive an XLS file.
 
Posts: 55 | Registered: May 22, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders