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] Dynamic hover links for drilldown columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Dynamic hover links for drilldown columns
 Login/Join
 
Master
posted
From a launch page a user can select a unit manager to see the most popular open cases for time period looking back in time (30, 45, or 90 days).

Here is a sample look at this page showing open work orders originated by customers or other means.

The subsequent report shows that the '223' work type was opened by customer 5 times in the last 30 days.

List of Open work Orders

WDC WORKDESC SWDC 
  
OPEN CUSTOMER ORDERS  
  
223 TURN OFF FOR REPAIRS	5 
230 INSPECT SUNKEN ROADWAY	4 
209 INSPECT FOR VALVE LEAK	3 
224 TURN ON			3 
119 INSPECT SURCHARGED SEWER	2 
041 AIR IN LINE			1 
108 INSPECT FOR SEWER LEAK	1 
405 REPLACE METER COVER		1 


OPEN WORK ORDERS  
  
301 LOCATE/ADJ CURB BOX TO GRADE	3 
017 MISC WATER MAINT			2 
200 SHUT DOWN/CHARGE WTR MAIN		2 
227 REPAIR FIRE HYDRANT LEAK		2 
258 LOCATE/ADJUST VALVE BOX		2 
303 CURB STOP INOPERABLE		2 
406 REPLACE METER F&C			2 
058 REINSPECT FOR SERVICE LEAK		1 
221 TURN OFF FOR LEAK			1 
289 REPAIR VALVE			1 
293 REPAIR FH LEAD VALVE LEAK		1 
425 VALVE WORK ON LARGE METER-01	1 



By clicking on the 223 value the user can run a
detail report for all '223' work orders.

I am trying to create a ALT tag to display a
specific drill link when the user hovers over a
work order in the 'open customer order' section, and a different link when the user hovers over a work order in the 'open work order' section.

So far, I have been testing this code:


DEFINE FILE ZXDB9
TXTORDST/A30 =
  IF ORDST EQ 'C' THEN 'OPEN CUSTOMER ORDERS'
                  ELSE 'OPEN WORK ORDERS';
END

TABLE FILE ZXDB9
SUM SWDC
BY TXTORDST NOPRINT
BY HIGHEST SWDC NOPRINT
BY ASSIGNEE NOPRINT
BY WDC
BY WORKDESC
-*BY ORDST
ON TXTORDST SKIP-LINE SUBHEAD
""
"<TXTORDST "
-*
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT=ARIAL,
SIZE=9,
COLOR=BLACK,
STYLE=NORMAL,
$
TYPE=DATA, 
COLOR=BLACK,
SIZE=10,
STYLE=NORMAL,
$
TYPE=DATA, 
SIZE=10,
COLUMN=N4, 
COLOR=PURPLE,
STYLE=UNDERLINE,
WHEN=ORDST EQ 'C',
FOCEXEC=app/rpt11(ASGX=ASSIGNEE WDCX=WDC), 
TARGET='_self', 
ALT='Open Customer Orders', 
$
TYPE=DATA, 
SIZE=10,
COLUMN=N4,
COLOR=ORANGE,
STYLE=UNDERLINE,
WHEN=ORDST EQ 'O',
FOCEXEC=app/rpt01(ASGX=ASSIGNEE WDCX=WDC), 
ALT='Open Work Orders', 
$
TYPE=TITLE,
STYLE=BOLD,
COLOR=RED,
$
ENDSTYLE
END
-RUN

-EXIT



But I cannot get it to work. Has anyone tried to
do this with success? Confused

Thanks!

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


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Expert
posted Hide Post
You need to include the column that is the subject of the WHEN phrase in your report request. Add
ORDST NOPRINT
or
BY ORDST NOPRINT
to the report.


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
Master
posted Hide Post
Thanks Francis. It works!

BTW, do you prefer using the DRILLMENUITEM= syntax or ALT= syntax?


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Expert
posted Hide Post
one is passive, one is active.
the passive one doesn't always show up, when repeatedly passing over the same link. by design.




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
  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] Dynamic hover links for drilldown columns

Copyright © 1996-2020 Information Builders