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     [SOLVED] File name when the user is saving a pdf output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] File name when the user is saving a pdf output
 Login/Join
 
Platinum Member
posted
Run any report with the line:

ON TABLE PCHOLD FORMAT PDF

and, as we all know, the locally installed Adobe Reader pops open to display the report. The question is, when the user clicks on the 'Save' button, the default file name comes up as WFServlet.pdf.

Does anyone know if there is a way to change this default value?

This message has been edited. Last edited by: Kerry,


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Virtuoso
posted Hide Post
I have seen some posts about how to change that defaut file name for Excel files (because it pops up an error saying "There is already a file open with the name Wfservlet". You might try searching the forum to see if one of those suggestions will work.

Other than that, I can't think of any other way. What shows up in the borwser address box is http://servername/ibi_apps/WFServlet. By default, the reader is going to grab that last part as the file name when you push the save button.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Virtuoso
posted Hide Post
I have not seen or heard any other technique of changing the name than just typing it in at the adobe save prompt when the file is being presented to the user in a direct manner.
The only way I know of giving it a certain user defined name is to first hold the file on the server, and then present it to the user, ie to present it in an indirect way.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
I knew I had read this somewhere! You don't mention what release you have but I found this in the 7.6.7 Summary of New Features:

quote:
Preserving File Extensions and AS Names
PCHOLD has been enhanced to preserve file extensions and AS names using the Save
Report parameter in the mime.wfs file. When the Save Report parameter is enabled, users
have the option to open or save the report output. If an AS name is specified in the request
(for example, ON TABLE PCHOLD AS MYREPORT FORMAT PDF), the Save Report option allows
users to open or save the report with the specified name (MYREPORT.pdf).
The Save Report parameter can easily be enabled in the Redirection Settings window available
in the Configuration area of the WebFOCUS Administration Console, as shown in the following
image.

I didn't paste the image but I think this is what you want.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
Funny you mention that, Ginny. I thought I had read something about that somewhere but when I tested it, it wouldn't work. Of course, I tested it in my current environment (7.1.6) instead of our new test env. (7.6.9).

Thanks for the reminder.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
If this works, it's one of the best New Features ever!


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Fantastic. IF the client upgrades from 7.6.4, AND turns on the Save Report, I will have a happy end user.

Thank you all.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Virtuoso
posted Hide Post
Oh my, I really should should start reading those snf booklets....


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     [SOLVED] File name when the user is saving a pdf output

Copyright © 1996-2020 Information Builders