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] Drill using an image in heading

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Drill using an image in heading
 Login/Join
 
Platinum Member
posted
Hi all
I am using an image to drill down to the same fex that has the the drill down code.
When users selects PDF file, only then the image (excel button) will show in a heading for them to get the Excel version of the Report.

Image shows when PDF output is selected. But it does not drill down..
I had it working when I used simple text "Export to Excel"

I had created a Car Sample and it works, but not in my fex
Would appreciate if someone can see what's missing .. Thanks

Here is the Drill Code

 
-IF &WFFMT NE 'PDF' THEN GOTO SKIPDRILL;
TYPE=SUBHEAD,
     BY=GLRE_LOC_ID,
	 IMAGE=app/excel2010_TINY.gif,
     POSITION=(8.500000 0.001000),
     TARGET='_blank',
     FOCEXEC=app/FIMP_MAIN.fex( \
     USERID='&USERID' \
     APP='&APP' \
     REPORT_ID='&REPORT_ID' \
     LOCTYPE='&LOCTYPE' \
     PROC_DATE='&PROC_DATE' \
     PROC_YEAR_NO='&PROC_YEAR_NO' \
	 PROC_MONTH_NO='&PROC_MONTH_NO' \
     RANGE_BEG_DATE='&RANGE_BEG_DATE' \
     RANGE_END_DATE='&RANGE_END_DATE' \
	 REPORT_AUTO_NO='&REPORT_AUTO_NO' \
	 HOLD_RAN='&HOLD_RAN' \
	 LOCPARAM=&LOCPARAM.QUOTEDSTRING \
     WFFMT='EXL2K' \
     ),
$
-SKIPDRILL
ENDSTYLE
END
-RUN
-EXIT

 

This message has been edited. Last edited by: <Kathryn Henning>,


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 2008Report This Post
Expert
posted Hide Post
when you produce a pdf report, remember you are totally disconnected from the server, so any references to urls have to be complete references, not relative references.
there are several ways to do that,
the easiest to understand might be to just hard code the complete url in your drill-down bit.
eg: image = http...
focexec=http....




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
Also note, webfocus loves to cache pages, especially if your within a portal. Some times just right clicking and clicking refresh, changes your results.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report 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] Drill using an image in heading

Copyright © 1996-2020 Information Builders