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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Excel Issue - Forcing how to open?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Excel Issue - Forcing how to open?
 Login/Join
 
Member
posted
I currently have a report that is initially run as an HTML report. This report will appear in my browser window. From there the user has the option to open this as an excel/pdf document. When the user selects excel, the report may or may not open in the current browser depending on their settings. Since a number of the users our outside it is impossible to control how this is set. I'm trying to think of a resonible solution. Is there a was to keep the current HTML document open in the browser and then when they select excel that the report is then forced to open in a separate window. Is there a script that can be added to force the users settings to 'open excel in browser'. Does anyone know how to get either of these to work or have any other solutions. It would be greatly appreciated.
 
Posts: 21 | Registered: April 20, 2004Report This Post
Silver Member
posted Hide Post
we do this today for our users by putting an Excel & PDF image in the heading of the HTML (default) report. we assign a variable to the image in the heading and then allow the user to choose if they want to continue in their preferred format- HTML,PDF & Excel2000. We do this as a drill within the stylesheet coding like this-
TABLE FILE ???
PRINT *
ON TABLE PCHOLD FORMAT '&FORMAT'
TYPE=HEADING, IMAGEBREAK=ON, IMAGE=\ibi_html\icons\excel.gif, IMAGEALIGN=LEFT,
FOCEXEC=YOURFEX(FORMAT=EXL2K), TARGET=_blank,$

The TARGET=_blank forces a new window to open. Excel 2000 also respects the HTML styling and drill downs if they exist.


7.7.04
Win2K3, Unix
Oracle 10G,SQL2K,XFOCUS,ESRI,BID,MRE,SELF-SERVICCE
 
Posts: 36 | Location: Melville,NY | Registered: August 09, 2004Report This Post
<sandy_16>
posted
Make a copy of the report with excel as output format and create a push button with a hyperlink to open the excel report.This is the simplest way of doing.You can give options to open in separate window or the same one also.
 
Report This Post
Guru
posted Hide Post
quote:
Is there a script that can be added to force the users settings to 'open excel in browser'


There is no script that can do this. Security restrictions prevent a web page from changing browser behaviour.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Silver Member
posted Hide Post
If all you want is to open the Excel report in a separate window, Jimbo has given you the answer with the target="_blank" statement.

That's the easy part. Controlling the behavior of the Excel report is much harder. Whether it opens immediately or the user is prompted, whether it opens in the browser or in Excel, etc. are all things based on how the end user's PC is configured to handle the various mime types that WF outputs. Because you can't control the end user's configuration, you have to do the best you can and hope the user has a clue.
 
Posts: 41 | Registered: January 06, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Excel Issue - Forcing how to open?

Copyright © 1996-2020 Information Builders