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.
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, 2008
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
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, 2008
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