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     Save PDF Report as...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Save PDF Report as...
 Login/Join
 
Gold member
posted
Hi all,

Currently when I save a PDF report, it is saved as "WFServlet.pdf" (by default). Is there a way to save a PDF report as "ReportName.pdf" by default ?

Thanks.

Shravan


7.7.03, Windows 7, SQL Server 2005
 
Posts: 92 | Location: Carmel, IN | Registered: May 09, 2008Report This Post
Guru
posted Hide Post
How are you saving the report? By right click? or just run the report and save to server folder?

example:
  
FILEDEF SK DISK C:\Temp\SKPDF.PDF

TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS 'SK' FORMAT PDF
END


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Gold member
posted Hide Post
User is given choice to run the report as html / PDF / Excel / Active report. When user runs the report as PDF, he / she wants to save it on his / her computer. When they click on the save button (floppy disk icon), by default the report is saved as "WFServlet.pdf". Instead they want to save it as "XYZ.pdf" (by default).

XYZ = Report Name


7.7.03, Windows 7, SQL Server 2005
 
Posts: 92 | Location: Carmel, IN | Registered: May 09, 2008Report This Post
<Naak>
posted
Hi,
I agree with sayed, its working.
Use filedef command to save the output of your procedure and mention the path where it has to save.

try this example



FILEDEF XYZ DISK C:\ibi\apps\XYZ.PDF (APPEND
TABLE FILE EMPDATA
PRINT
MIDINITIAL
DIV
DEPT
SALARY
HEADING
""
FOOTING
""
WHERE DIV EQ '&DIV.(,,,,).DIV.';
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS 'XYZ' FORMAT PDF
-*ON TABLE SAVE AS 'XYZ'
END
 
Report This Post
Gold member
posted Hide Post
Naak,

Sorry, I was not clear. I don't want to save the file at some place when the report is run. I want the ability to save the Report(using the save button [floppy disk icon]) as "Report Name.pdf" (by default) AFTER the report is run in PDF format.


7.7.03, Windows 7, SQL Server 2005
 
Posts: 92 | Location: Carmel, IN | Registered: May 09, 2008Report This Post
Guru
posted Hide Post
Does this work outside of Active Report? Can you upload the focexec? I do not have Active report license to create a sample.

Sayed


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Virtuoso
posted Hide Post
shravan,

Take a look at this. If you change the JS entries to look for .pdf instead of .xht, then rebuild the url as "/ibi_apps/ReportName.pdf?...", then change the filter-mapping to *.pdf, then you will get what you are asking for.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report 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     Save PDF Report as...

Copyright © 1996-2020 Information Builders