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     PDF Output From Developer Studio Requests 'Save File' Instead Of Displaying

Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF Output From Developer Studio Requests 'Save File' Instead Of Displaying
 Login/Join
 
Member
posted
Whenever I try to run a PDF report out of Developer Studio (711) instead of putting the report in the browser (IE) I receive the 'File Download' dialog box. The dialog box tells me the file cannot be opened by the default program.

I have checked my file types and PDF starts Adobe Reader 8.0. I can open PDF files in other websites using IE without a problem.

Is this a setup issue?

Thanks,
Ron Woods
San Antonio Express-News


Ron Woods
San Antonio Express-News
Release: WebFOCUS 7.1.1
OS/Platform: Windows XP SP2 x86 32bit
O/P Formats: Primarily pdf and xls
 
Posts: 22 | Location: San Antonio, Tx | Registered: October 20, 2005Report This Post
Master
posted Hide Post
Here is an option that allows the user to open or download.

-* File PDFFile.fex
-SET &PDFFILE = 'CAR' | EDIT(&MDYY, '99999999') | EDIT(&TOD, '99$99$99') | '.PDF';
-SET &URLPATH = '/approot/temp/' || &PDFFILE;
-SET &FNAME = 'C:\\IBI\\APPS\\TEMP\\' || &PDFFILE;

FILEDEF TMPCAR DISK &FNAME
-RUN
? FILEDEF

TABLE FILE CAR
PRINT DCOST RCOST
BY COUNTRY BY CAR BY MODEL
ON TABLE SAVE AS TMPCAR FORMAT PDF
END
-RUN
-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>Download</TITLE>
</HEAD>
<BODY><CENTER>To save a copy to your computer richt click <a href="&URLPATH">Here</a> and select "Save target As ...", or Click to open</CENTER>
</BODY>
</HTML>


Hope this helps
 
Posts: 865 | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
There is a setting in Adobe Reader that controls whether or not to display in the browser window.

Start the Adobe Reader. Then check "Edit --> Preferences" and then "Internet".


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Guru
posted Hide Post
Ron, when you run a different fex with output to PDF, do you get the same download message? For example, running a simple TABLE FILE on the CAR file. If other fexes opens up PDF without a problem, then you may have some syntax issues in your code. Yes, I've had this happen to me before. If this is the case, then you might want to post your code here for others to peruse.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Member
posted Hide Post
Found the problem - Adobe Reader 8.0 was corrupted. Just did an update and all works fine now.


Ron Woods
San Antonio Express-News
Release: WebFOCUS 7.1.1
OS/Platform: Windows XP SP2 x86 32bit
O/P Formats: Primarily pdf and xls
 
Posts: 22 | Location: San Antonio, Tx | Registered: October 20, 2005Report 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     PDF Output From Developer Studio Requests 'Save File' Instead Of Displaying

Copyright © 1996-2020 Information Builders