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.
Is it possible to drill down to multiple iframes? i.e. the user clicks on a pie slice from iframe1, which triggers a chart in iframe3 and a report in iframe4?
Here is my code so far, but it's only drilling to iframe4:
Full code if you need it:
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
GRAPH FILE ERRLVL1
-* Created by Info Assist for Graph
SUM ERRLVL1.ERRLVL1.ERROR_COUNT AS 'Errors by Team'
BY TOTAL HIGHEST ERRLVL1.ERRLVL1.ERROR_COUNT NOPRINT
BY ERRLVL1.ERRLVL1.PEN_TEAM_NM
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/WFC/Repository/RIS/Common/pfg_pie.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
TYPE=DATA, COLUMN=N3, TARGET='iframe3', FOCEXEC=IBFS:/WFC/Repository/RIS/Application_Health_Dashboard/rpt_errors_level2_pie.fex(ERRTEAM=ERRLVL1.ERRLVL1.PEN_TEAM_NM), $
TYPE=DATA, COLUMN=N3, TARGET='iframe4', FOCEXEC=IBFS:/WFC/Repository/RIS/Application_Health_Dashboard/rpt_errors_level2_report.fex(ERRTEAM=ERRLVL1.ERRLVL1.PEN_TEAM_NM), $
*GRAPH_SCRIPT
setPieFeelerTextDisplay(1);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setPieFeelerTextDisplay(1);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getLegendArea(),false);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
setPieSliceDetach(getSeries(*), 0);
*END
ENDSTYLE
END
-*IA_GRAPH_FINISH
WebFOCUS 8.0.08This message has been edited. Last edited by: <Kathryn Henning>,
Yes, it is possible. You need to use JavaScript to make it possible.
Instead of FOCEXEC use JAVASCRIPT and make a call to JS function either embedded within same FEX or placed in application server. In JS, you can use FORMs to refresh 2 iframes with 2 dynamic URLs.
For those that are interested, I used the following steps to solve this issue. I created 3 fex files using the CAR file. iframe1.fex will pass &CAR to iframe2.fex and iframe3.fex. And then a HTML document with the 3 iframes.
Then...
1. Add a button to page (automatically named button1). 2. Right-click the button and add 2 hyperlinks for frames 2 and 3. In the end, that will create in input box for car (don’t create a form when prompted; it’ll be named edit1). 3. Test button1 manually by running the page and clicking it. 4. Write a small js function on the Embedded JS tab
function runDrillDowns(car) {
document.getElementById(“edit1”).value = car ;
OnExecute(null,”button1”);
}
5. Manually edit iframe1.fex: TYPE=DATA, COLUMN=N2, JAVASCRIPT=parent.runDrillDowns(CAR.COMP.CAR), $ 6. Test functionality by running page and this time clicking on pie slice. 7. Hide the button and the input boxThis message has been edited. Last edited by: Joel Elscott,