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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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