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 have main report page which has tabular and graph report on one page. If I drill down on tabular report, same parameter should be passed to the graph. How I will do this?
For now I'll (try to) keep it simple; you can expand this principle when this works.
In your Layout painter you have 1 report and 1 graph in frames 'report1' and 'graph1' respectively.
The report, called myrep, in frame called report1 has a drill down, say on the field COUNTRY, make this drill down a Javascript type with a javascript entry of 'window.parent.runDrill', no target frame and add a parameter of the field COUNTRY.
In the html painter, after the '//TODO: Add your event handler code here' and after the following '}' add the code:
function runDrill(country){
window.frames['report1'].location.href='http://myserver/ibi_apps/WFServlet?IBIF_ex=myNewReport&COUNTRY='+country;
window.frames['graph1'].location.href='http://myserver/ibi_apps/WFServlet?IBIF_ex=myNewGraph&COUNTRY='+country;
}
So what you are doing is from the first report, calling a javascript function in the parent, which is the page itself, passing the parameter as part of the call. The javascript then loads the url, with the parameter, to each of the frames on the page.
Hope that makes sense, come back if any questions.This message has been edited. Last edited by: Alan B,
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007