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.
My Manager said she saw a WebFocus demo that Showed AFTER a report was run...you could select different kinds of Output...Excel, PDF, HTML. Anyone have an example of this code? She wants me to put this on our Website. Any help would be appreciated.
ThanksThis message has been edited. Last edited by: Kerry,
most likely, in the demo your manager saw, drilldowns in a header offered different output formats, however in each case the fex is re-run with a different output format passed as a paramter from the drilldown, overriding the HTML default. So the "AFTER" concept is an illusion. In every case the fex is re-run. Even if you have a win2k+ environment, and you use RCXX (right click export to excel), you are still rerunning the fex.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Prarie, Don't you just love demos. There should be laws that demos must have the code available to managers to bring back with them - Because you know they're going to ask us to do those same 'illusions' .........
I built the illusion in a couple of my small reports because I too couldn't figure out how to do it without just re-running the fex...... If you find a neat trick let us know....
Posts: 132 | Location: Kansas | Registered: November 12, 2003
Chris Banks at IBI does a very swell demo with this feature and he uses cute little icons for a printer, a pdf file and the green excel icon. and he's very generous with his code and his little icon things. ITs the little icons that give wings to the Illusion...very effective. I must admit to using them everywhere myself once i saw Chris's demo.!
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
here's a really really simple way; 1) put francesco's icons on your server in your vis directory; grab an Active Reports icon and make yourself a back ararow gif while you're at it. 2) DEFINE them
-IF &WFFMT.EXIST EQ 0 GOTO end.deficons ;
PDF/A100 = IF '&WFFMT' IS 'HTML' THEN
'<IMG TITLE="PDF" SRC="/ibi_html/vis/pdf.gif" style="border: 1px solid #FFFFFF;" >'
ELSE ' ';
EXCEL/A100 = IF '&WFFMT' IS 'HTML' THEN
'<IMG TITLE="EXCEL" SRC="/ibi_html/vis/excel.gif" style="border: 1px solid #FFFFFF;"> ' ELSE ' ';
ACTIVE/A200 = IF '&WFFMT' IS 'HTML' THEN
'<IMG TITLE="Active Report" SRC="/ibi_html/vis/activereport.jpg" height=18 style="border: 1px solid #FFFFFF;"> ' ELSE ' ';
-TYPE launch exists &LAUNCH.EXIST &LAUNCH
-IF &LAUNCH.EXIST EQ 0 GOTO end.finpmdef ;
BASE/A200 = IF '&LAUNCH' EQ 'DEFAULT' THEN ' ' ELSE IF '&WFFMT' IS 'HTML' THEN
'<a href="javascript:history.go(-1)">' |
'<IMG TITLE="click to go back" SRC="/ibi_html/vis/arrow_back.gif" height=18 style="border: 1px solid #FFFFFF;"> ' |
' </A> ' ELSE ' ';
-end.deficons
3) in your fex:
HEADING
"<BASE<PDF<EXCEL<ACTIVE"
... 4) in your style sheet TYPE=HEADING,LINE=1,ITEM=2,FOCEXEC=myfex(WFFMT='PDF' ...rest of your parms),$ TYPE=HEADING,LINE=1,ITEM=3,FOCEXEC=myfex(WFFMT='EXL2K' ....la de da), $ you get the idea, yes?
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003