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.
I am creating a drilldown bar graph. Each bar in the graph is a hyperlink that runs a fex in the background with a different amper variable. The first time one of the bars is clicked, it runs the background fex fine. However, if I do it again, it doesn't run the fex again... it just pops up the same output as the first time. Is there a way to make sure that every time the bar is clicked, the fex is run again as if it had never been run before?This message has been edited. Last edited by: Mark1,
I have a similar graph and drill-down fex that works correctly. What do you mean by "background"?
Are you running the fex in MRE, Dashboard or DevStudio or is it self-service?
More details would help.
graphgui1.fex:
GRAPH FILE CAR
SUM SALES DEALER_COST RETAIL_COST
ACROSS COUNTRY
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setAxisAssignment(1,0);
setAxisAssignment(2,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
TARGET='_blank',
FOCEXEC=graphgui1dd.fex(COUNTRY=A1 TYPE='SALES'),
$
TYPE=DATA,
ACROSSCOLUMN=N2,
TARGET='_blank',
FOCEXEC=graphgui1dd.fex(COUNTRY=A1 TYPE='DEALER_COST'),
$
TYPE=DATA,
ACROSSCOLUMN=N3,
TARGET='_blank',
FOCEXEC=graphgui1dd.fex(COUNTRY=A1 TYPE='RETAIL_COST'),
$
ENDSTYLE
END
graphgui1dd.fex:
-DEFAULT &COUNTRY='FOC_NONE';
-DEFAULT &TYPE='COUNTRY';
TABLE FILE CAR
PRINT *
BY &TYPE
WHERE COUNTRY EQ '&COUNTRY';
END
-RUN
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
Yes you are right, it must be passed to the nex fex.
You can do this by adding the variable to the fex call. FOCEXEC=drill(parm1=field rand='&CLEARCACHE')
You may still have issues if the drill data is moving, and you drill down, use the back button, then drill again, because your variable CLEARCACHE has not changed.