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] PDF redirect for one report only

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] PDF redirect for one report only
 Login/Join
 
Guru
posted
Hi all,
I'm looking for some insite on how to turn off redirection for PDF output for one report. All other PDF reports need the redirection but 1.
I know about IBIWF_redirect but this is a global setting. Can I reset this variable for a specific report? If so, where? Examples?

I've done some forum searching and documentation reading but to no avail...

TIA.

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



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Expert
posted Hide Post
DHTML


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
Thanks, Tom.

I know I can get the look close to PDF using DHTML but there are differences.

The user would like PDF.

Any other ideas?

Thanks.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Expert
posted Hide Post
ON TABLE HOLD AS NOT_PDF FORMAT HTMTABLE or HTML or DHTML or Whatever
END
-RUN
SET HTMLFORMTYPE = PDF
-HTMLFORM BEGIN
!IBI.FIL.NOT_PDF;
-HTMLFORM END

Last Idea:

Have the user open ADOBE, EDIT, Preferences, Internet Options, Check Display PDF in Browser...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Just a silly thought.

Can you pass IBIWF_redirect as a parameter in the call, I have no idea, but perhaps it may be picked up.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Thanks Tom and Waz.

I tried passing IBIWF_redirect with no success.

Good idea but no joy.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Guru
posted Hide Post
Update: &IBIWF_redirect=NEVER works when added to the URL on the report request.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Master
posted Hide Post
Following up on this great thread..

Setting IBIWF_redirect=NEVER gave me a PDF Error: 'file is corrupt'.

I researched this, and found IB Case 81632529 dated 13-June-2012, that recommended that IBIWF_redirect=LEN.
https://techsupport.informatio...om/sps/81632529.html

With the setting to LEN, there was no longer a redirection when drilling down to a PDF report, and I didn't encounter the PDF 'file is corrupt' error.

With the redirect variable setting, my WF Stylesheet drill down code looks something like this:
...
ON TABLE PCHOLD FORMAT PDF
...
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=NAME, FOCEXEC=myfex(FILENAME=NAME APPPATHIN='&APPPATHIN' RAND='&RAND' IBIWF_redirect='LEN' ), $
ENDSTYLE  




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report 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] PDF redirect for one report only

Copyright © 1996-2020 Information Builders