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] HTML drilldown links

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] HTML drilldown links
 Login/Join
 
Gold member
posted
I have a HTML table in a define and it has one row in the table with multiple links (shows with each record returned in the report). I need to make some of these links go to different drilldowns. It is possible to somehow specify which link on the same line goes to a drilldown other than ITEM=something in the stylesheet? Because item #1 will only work, but that does every link on the line. Something like this? Unfortunately that just makes the whole line carfex2, but the styling works..

TYPE=subhead, BY=ORDER_SEQUENCE, LINE=5, ITEM=1, CLASS='ONE', FOCEXEC=CARFEX1,$
TYPE=subhead, BY=ORDER_SEQUENCE, LINE=5, ITEM=1, CLASS='TWO', FOCEXEC=CARFEX2,$

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


WebFOCUS 7.6.3 | Solaris 10 | Excel, PDF
 
Posts: 46 | Location: Austin TX | Registered: June 04, 2009Report This Post
Expert
posted Hide Post
Please post the complete report section of the code, HEADINGS and STYLE, between
[code]
and
[/code]
tags.


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
Gold member
posted Hide Post
Sorry, I cannot post the entire thing. But here are the relative snippets which should be enough.

Define field..
ORDER_LINE_5/A200='<table><tr><td class="ONE">Items</td><td class="TWO">Voucher History</td><tr></table>';

Table
TABLE FILE PRDATA
PRINT
..
  ITEM_DESC
  ITEM_PRICE
BY PR_NUMBER NOPRINT
SUBHEAD
"<PR_LINE_1" (a table about the order)
..
BY ORDER_ID NOPRINT
SUBHEAD
"<ORDER_LINE_1"
..
"<ORDER_LINE_5"

Some garbage CSS
TD.ONE { color:#6699cc; text-decoration:underline; }
TD.TWO { color:#800000; }

Garbage style as posted from above
TYPE=subhead, BY=ORDER_SEQUENCE, LINE=5, ITEM=1, CLASS='ONE', FOCEXEC=CARFEX1,$
TYPE=subhead, BY=ORDER_SEQUENCE, LINE=5, ITEM=1, CLASS='TWO', FOCEXEC=CARFEX2,$


WebFOCUS 7.6.3 | Solaris 10 | Excel, PDF
 
Posts: 46 | Location: Austin TX | Registered: June 04, 2009Report This Post
Expert
posted Hide Post
ORDER_LINE_5 is one field, therefore it is one ITEM in the STYLESHEET. Since you're building HTML, why not include the hyperlink in there as well, something like this:

ORDER_LINE_5/A500 = 
'<table><tr>' | 
'<td class="ONE"><a href="/ibi_apps/WFServlet?IBIF_ex=CARFEX1">Items</a></td>' | 
'<td class="TWO"><a href="/ibi_apps/WFServlet?IBIF_ex=CARFEX2">Voucher History</a></td>' |
'<tr></table>';


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
Gold member
posted Hide Post
And how do I specify a criteria/variable on that URL?

like I would normally do
FOCEXEC=rptnm(PRNBR=PR_NUMBER FORMAT='P')


WebFOCUS 7.6.3 | Solaris 10 | Excel, PDF
 
Posts: 46 | Location: Austin TX | Registered: June 04, 2009Report This Post
Expert
posted Hide Post
Since you didn't have any parameters in your "Garbage style" I assumed you didn't need any. That's why I suggested posting the complete report. There's no point in going back and forth, extracting more and more complexity...

Since your drill-downs are in the HEADING, can we assume that the PR_NUMBER is constant for the whole report, or constant per page?


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
Gold member
posted Hide Post
I just needed the format, which was the following:
ORDER_LINE_5/A500 = 
'<table><tr>' | 
'<td class="ONE"><a href="/ibi_apps/WFServlet?IBIF_ex=CARFEX1&|VAR='|COLUMN||'">Items</a></td>'...


Thanks anyway.


WebFOCUS 7.6.3 | Solaris 10 | Excel, PDF
 
Posts: 46 | Location: Austin TX | Registered: June 04, 2009Report 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] HTML drilldown links

Copyright © 1996-2020 Information Builders