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     [CASE-OPENED] selecting PDF or Excel at different levels of a drilldown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] selecting PDF or Excel at different levels of a drilldown
 Login/Join
 
Platinum Member
posted
I'm not sure if this is doable but I have users that want to be able to select a report to be either PDF or Excel but at different levels of the drilldown. We have 4 levels. I know how to make the variable go through all the drilldown as PDF and 2 levels on Excel. But they really want to be able to switch back and forth at every level without getting prompt to select. My HTML page has all the selection on the side.

All help is greatly appreciated. Thank you all in advance.

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


WEBFOCUS 7.6.4
Server: WINXP
 
Posts: 121 | Registered: September 20, 2007Report This Post
Virtuoso
posted Hide Post
Give the users two choices for each drilldown -- one for each output format. See "Creating Multiple Drill-Down Links".
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Master
posted Hide Post
Another option is to put a link on the report allowing the user to "Export to Excel" (or PDF). Then rerun the report in that format. I have one group of reports that we present in HTML complete with headers, subtotals, logo etc. If the user clicks Export to Excel we rerun the report with only column titles so they have a sortable report.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Guru
posted Hide Post
You can change the code for the output on each drilldown level to
/*
ON TABLE PCHOLD FORMAT &WFFMT.(,,,,,).Select type of display output.

and Webfocus will prompt the user to select the output format. You can change the above line to only allow tha formats you want.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Platinum Member
posted Hide Post
I did have it where it prompt the user to select which on on each report drilldown but thats not what they want. I'm looking into the Java format that j-gross suggested. I have never worked with Java so it's a bit challenging. I will update as soon as I have more information. But if anyone has any other suggestions please let me know. All help is greatly appreciated!!! Thanks again to all!!!


WEBFOCUS 7.6.4
Server: WINXP
 
Posts: 121 | Registered: September 20, 2007Report This Post
Expert
posted Hide Post
Global variable.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Guru
posted Hide Post
My HTML page has all the selection on the side. if this is true, then you can pass all the Formats to the drilldown. eg

Format1='&format1', Format2='&format2' etc.
Each level will then pass down the Format for the lower level.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Virtuoso
posted Hide Post
Java?

I meant, just change the report's drilldown declaration in the Stylesheet from, say,
-DEFAULT &FMT='xls'

TYPE=DATA,
     COLUMN=FOO,
     ...,
     FOCEXEC=mydrilldown(FOO FMT='&FMT'),
$ 

to
TYPE=DATA,
     COLUMN=N1,
     ...,
     DRILLMENUITEM='Details (Excel)',FOCEXEC=mydrilldown(FOO FMT='xls'),
     DRILLMENUITEM='Details (PDF)',  FOCEXEC=mydrilldown(FOO FMT='pdf'),
$ 

so the user gets to choose, at each stage, from the available formats. (That assumes a single drilldown report handles either output format, with &FMT indicating the selected format)


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Platinum Member
posted Hide Post
I'm sorry I got two of the sites I had up mixed up j.gross. :-( I was looking at what you sent me and also something else I had found and got them mixed up. I had not had a chance to look at it but I will tomorrow morning for sure. Thanks for getting me staight again. I tend to drift sometimes. :-(


WEBFOCUS 7.6.4
Server: WINXP
 
Posts: 121 | Registered: September 20, 2007Report 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     [CASE-OPENED] selecting PDF or Excel at different levels of a drilldown

Copyright © 1996-2020 Information Builders