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.
Does anybody know how to define condition on a hyperlink depending on output? My report is defined to have multiple output formats: html, active html and excel.
ON TABLE PCHOLD FORMAT &WFFMT.(<HTML Web Document (HTML),HTML>,<HTML Active Report (AHTML),AHTML>,<Excel XLSX (XLSX),XLSX>).Select type of display output.
I have defined hyperlinks in that report but I only want to show them in html outputs. I want to use WHEN condition. I have tried following approach but the syntax is wrong, I am not sure what the correct one is:
TYPE=DATA,
COLUMN=VF_APP_SEQ_EVENT_PROD.EVENT_COMMENT.EVT_COMMENT,
WHEN=VF_APP_SEQ_EVENT_PROD.EVENT_COMMENT.EVT_COMMENT EQ 'View Comments' AND &WFFMT NE XLSX,
DRILLMENUITEM='Event Comments',
FOCEXEC=IBFS:/WFC/Repository/Liquent_Reports/Ad-hoc/Application_Event_Sequence_Ad_Hoc/commentDrilldown.fex( \
ENTITY_ID=VF_APP_SEQ_EVENT_PROD.VF_APP_SEQ_EVENT_PROD.EVENT_ID \
),
TARGET='_blank',
Thank you whoever responds.This message has been edited. Last edited by: ElizabethN,
-DEFAULTH &WFFMT='HTML';
-SET &EXCELCOMMENT=IF &WFFMT EQ 'HTML' THEN '' ELSE '-*';
TABLE FILE CAR
SUM SALES SEATS
BY COUNTRY BY CAR
BY MODEL
ON TABLE PCHOLD FORMAT &WFFMT
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY,
&EXCELCOMMENT.EVAL URL='http://www.google.com',
$
ENDSTYLE
END
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013
WHEN=VF_APP_SEQ_EVENT_PROD.EVENT_COMMENT.EVT_COMMENT EQ 'View Comments' AND &WFFMT NE XLSX
First off, the syntax of the WHEN expression follows that of DEFINE or COMPUTE expressions, so (assuming WHEN will accept a compound condition), you'd need to put &WFFMT and XLSX in quotes. As it stands, both would be interpreted as referring to columns of the report.
If that still fails, you need add a COMPUTE, NOPRINT column, and reference that in the WHEN phrase:
COMPUTE DRILL_IND/I1=VF_APP_SEQ_EVENT_PROD.EVENT_COMMENT.EVT_COMMENT EQ 'View Comments' AND &WFFMT.QUOTEDSTRING NE 'XLSX'; NOPRINT
...
TYPE=DATA, COLUMN=VF_APP_SEQ_EVENT_PROD.EVENT_COMMENT.EVT_COMMENT, WHEN=DRILL_IND NE 0, ...,$
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005