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     [CLOSED] Creating PDF output to an unknown drill-down level

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Creating PDF output to an unknown drill-down level
 Login/Join
 
Silver Member
posted
I am creating a graph which has a few drilldown levels. On its launch page, I would like to have a link to a pdf document (probably a compound pdf document) which will contain the selection details, as well as the graph.

The problem is that the graph has drill-downs. How can I keep track of what drilldown level I'm at, as well as the drilldown criteria, so the pdf output is generated with the right version of the graph?

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


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
 
Posts: 35 | Registered: May 11, 2011Report This Post
Expert
posted Hide Post
Could you craft the beginnings of a sample program that we can build on?


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
Silver Member
posted Hide Post
Hi Francis,

here's some code that kind of illustrates the problem...

focalpoint.fex
TABLE FILE CAR
SUM 
     CAR.BODY.DEALER_COST
BY  LOWEST CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=DATA,
     COLUMN=N1,
     TARGET='_blank',
     FOCEXEC=focalpoint2( \
     COUNTRYFILTER=N1 \
     ),
$
TYPE=TITLE,
     COLUMN=N1,
     TARGET='_blank',
     FOCEXEC=focalpoint2( \
     COUNTRYFILTER=N1 \
     ),
$
ENDSTYLE
END


focalpoint2.fex

-* File focalpoint2.fex
TABLE FILE CAR
PRINT 
     CAR.ORIGIN.COUNTRY
     CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.DEALER_COST
WHERE CAR.ORIGIN.COUNTRY EQ '&COUNTRYFILTER';
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
ENDSTYLE
END



Now suppose you had an html page with this report in a frame, and a link saying "print pdf" or something like that. How would one know which fex you're in (for me, it's the same fex, but parameters controlling BYs and some other things), and what the drill parameters were, so that when you run the pdf you get exactly what's shown in the frame?

Keith


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
 
Posts: 35 | Registered: May 11, 2011Report This Post
Guru
posted Hide Post
Keith,

You can create a variable, &wherefrom, that you populate in your drill down that tells the called program where you ame from.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report 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     [CLOSED] Creating PDF output to an unknown drill-down level

Copyright © 1996-2020 Information Builders