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 had read about this a while ago, but I only just implemented the 7.6.7 new feature and it works as advertised, coding "ON TABLE PCHOLD AS report-name FORMAT EXL2K" results in a File Download dialogue box with Name: report-name.xls instead of the default Name: WFServlet.xls.
I'm tickled pink and now will test to see what kind of report names can be used, how long can the file name be, can there be blanks, etc.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
That actually works as described. Haven't tested the maximum length though... Did do some testing with:
ON TABLE PCHOLD AS Output_&weeknr_&year FORMAT EXL2K
Works too... ( of course )
Lucky us.
But it does require a small configuration on the server. For this to work it must be configurated to offer the file to the end-user with the choice to download.
If you really want to know, I could ask the tech-guys..
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
We are running 7.6.10, and when I tested this what I saw is the first excel document still opens as 'WFServlet.xls', and the second time I run the report it opens as 'given_name.xmh'. The popup box that asks if you want to open or save displays 'given_name.xmh' as the name of the file even the first time through.
WF 7.7.05 HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files HTML, Excel, PDF
I just tested for compound reports. I placed 'as filename' in all reports, which are 5 different fexes, and it worked, but again, when opening the file first time through it was named 'WFServlt.xls', second time through it was named the name given in the AS statement.
WF 7.7.05 HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files HTML, Excel, PDF
I've been working with this feature and I'm still having problems. My problem is if a user runs a report in excel format, runs the same report with only changing the date range on the input query screen, then runs the report a third time again only changing the date range on the input query screen, the first report opens as 'WFservlet.xls', the second report opens with the PCHOLD 'AS NAME.xmh' assigned, the third report opens as WFServlet.xls' so the third report because it's named the same as the first doesn't open you just get the first report again. The popup box gives all three the 'AS NAME' but the prompt after that is where the first and third report get named 'WFServlet.xls'. I've changed my "Expire Reports" setting to '1', and selected 'No-Cache' from the Client Admin screen. I've tried generating a random number in the Input Query screen when submit is clicked, I've tried creating a random number and concatenating it to the AS NAME, neither resolved the issue. I'm open to any suggestions on how to resolve this issue. I'm running Office 2007, which may be the issue.
Thanks,
Linda
WF 7.7.05 HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files HTML, Excel, PDF
We are also having trouble with this. I can't quite figure out the magic combination of Redirect and Save settings for the .xmh, .xls, and .xht files. I don't think it is your version of Office because we see the same issues on 2003, 2007, and 2010.
With respect to Excel output (EXL2K, EXL2K PIVOT) I think the pattern I'm seeing is that when Redirect is set to YES you lose the AS NAME and you end up with WFServlet.nnn The problem with setting Redirect to NO is that large file sizes can cause issues with the browser timing out or losing interest in waiting and going to some other place that browsers go when they are bored.
Then there is the Save setting. If that is set to NO you get the IE security bar asking if it's OK to download the file and then you have to answer the Open/Save question. When that is all done you're still left with a blank browser window. If it is set to YES it goes straight to the Open/Save question and then the browser window closes automgically. BUT, in some cases, the AS NAME may be preserved but there is no extension to the file name. So, it's up to the user to figure out what extension to add.
We also found that if you monkey with the redirect settings you get strange behaviors from InfoAssist.
In the final analysis, we reverted to having Redirect set to YES and Save set to NO. The user has to deal with the IE security bar and rename the file something other than WFServlet but at least the behavior is consistent between MRE reports and InfoAssist and there is a file extension in place.
In a similar issue we found that we still need the SET WEBARCHIVE=ON statement in the Server Configuration file. Supposedly you don't need it as of 7.6.9 but in 7.6.10 turning it off causes other oddities.
I'm sure this won't directly help you but hopefully it will shed more light on the issue.
Cheers!
Dan
7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007
I am on 7.6.11 and because I am only outputing one EXL2K at a time I get WFServlet.nnn. My problem is I fire off two or three long running reports with my browser and get back a like number of WFServlet.nnn's rather than spreadsheets with the AS names I assign them. It would be much more useful for me if it would assign the AS name to each spreadsheet.This message has been edited. Last edited by: M Meagher,
Posts: 60 | Location: Ellensburg Washington | Registered: May 22, 2009
If you 'run deferred' you can open the deferred status page and download the files by clicking a button. This will avoid some confusion as to which is which.
Additionally, (I think more to the point of your post) I believe you need to be writing your output as a compound report if your desire is to get one spreadsheet with three tabs (per your example) instead of three seperate spreadsheets.
- ABT
quote:
Originally posted by M Meagher: I am on 7.6.11 and because I am only outputing one EXL2K at a time I get WFServlet.nnn. My problem is I fire off two or three long running reports with my browser and get back a like number of WFServlet.nnn's rather than spreadsheets with the AS names I assign them. It would be much more useful for me if it would assign the AS name to each spreadsheet.
I'm on 7.6.10 and am having the same problem. No matter what my options are set to in the WF configuration console, my excel always downloads as WFServlet.xls.
Has anyone found the magical configuration to preserve the filename and extension?
Hello, I have the same problem in generation a name for my csv file. I already try all the configurations that I read in the forum, but without success.
What I'm doing: ON TABLE PCHOLD AS 'AREPORT' FORMAT COMT This open the excel but the filename is WFServlet.csv.
If I try: ON TABLE PCHOLD AS 'AREPORT.csv' FORMAT COMT The return HTML is null.
I'm using webfocus 7.7.02.
Thanks, Carlos Dias
WebFOCUS version: 7.6 Linux/Windows HTML, Excel
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011
In v7.7.02, I set the "Set Report" parm for .xht, .xls, .xlsx, .xmh and .pdf to "yes", then tried ON TABLE PCHOLD AS TEST1 FORMAT EXCEL/EXL2K/PDF and it worked - I was provided with a Open/Save dialogue box with the file name correctly set. It did not work for EXL97, but I certainly wouldn't be using EXL97 in 2012.This message has been edited. Last edited by: Francis Mariani,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Still doesn't work... my redirection setting area is different from the one that the link that you provide. In the following image you can see the changes that I made: CSV
EXCEL
My window configuration area:
Thanks, Carlos Dias
WebFOCUS version: 7.6 Linux/Windows HTML, Excel
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011
We are also having this problem with .xls files. Turning the Save Report option on worked great for EXL07, however, EXL2K ignores it and continues to show the report name as WFServlet.xls in addition to giving the warning message about file extension. My question to you is, what does your Redirection Setting show under Server Extension for WebFocus extension .xls? Currently, ours shows EXCEL.
Thank you, Brad.
7.7, z/OS & Win7, excel & pdf 8.2 testing
Posts: 46 | Location: Tallahassee, FL ... was focused on, uh, what were we talking about? | Registered: February 03, 2012
It isn't working in the environment I am working at the present. I have several Excel/WF issues that I cannot solve. It seemed so good in the 7.6 world and not so good in the 7.7 world.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
For EXL2K set the redirection setting for xmh or xht based on WEBARCHIVE (ON by Default) I am having trouble with the size of the report generated though. But when Excel saves it on the client side in XLS format it iis small.. Only the xmh file that Webfocus generates is huge. I will open a new thread for that.
Webfocus 7.7.04, Windows, HTML,Excel , Active PDF, Active HTML, Flex Enable