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] Passing values to the tabs in a dashboard

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Passing values to the tabs in a dashboard
 Login/Join
 
Member
posted
Hi,
The default tab on my dashboard has a launch page that accepts input parameters. Based on the input parameters, the reports on my other tabs need to be populated. My question is how do I make the input parameters available to the various fex's on the other tabs? Please help me out with your suggestions.

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


Ver 7.1.4
 
Posts: 4 | Registered: July 09, 2008Report This Post
Virtuoso
posted Hide Post
They don't work that way. You can set up multiple "panels" or output frames so multiple reports are run together and displayed, each in their own window, but each tab is independently controlled and separate fexes for each tab are run in their own sessions, so there is no passing of parameters between the procedures in separate tabs.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
Few things you could do:
1. Create a tabbed report - the HTML should have various tabs which will allow passing of parameters to other fexes. In which case, you'll probably not need to use Dashboard!
2. Provide hyperlinks to other reports from the launchpage (or a droplist for that matter).

Hope this helps!

Syed


Using WF 7.1.7/Dev Studio
 
Posts: 189 | Location: Boston, MA | Registered: July 12, 2005Report This Post
Expert
posted Hide Post
If you truly want to access the parameters selected in one tab on another tab, then one of the easiest ways would be to save the parameters in a cookie which the other tabs would read.

The other way would be to use JavaScript to access the form objects by referring to the frame name because the Dashboard view is created using frames. Unfortunately, because each tab is a frame, and each block within a tab is a frame it appears to be quite complicated addressing the correct tab. I haven't been able to figure out if it's 'top.window.frames' or 'top.framename.an_launch' or 'top.frames.framename.name' or 'top.window.frames.framename.name' or ...


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
Member
posted Hide Post
Hi Everyone,
Thank you very much for all your responses. Truly appreciate it. For now, I am going to go ahead with Francis's idea of storing the parameters in a cookie.


Ver 7.1.4
 
Posts: 4 | Registered: July 09, 2008Report This Post
Expert
posted Hide Post
From any tab in a Dashboard View, you can access the form objects in the first tab with code like this:
alert(top.contentFrame.frames[0].frames[1].document.forms[0].REGION.value);

contentFrame is the second frame in the main frameset of a dashboard view (this can be determined by selecting Internet Explorer > View > Source (not by right-click > View Source).

frames[0] is the first tab.

frames[1] is the first block within the tab. frames[0] at this lower level is the block name.


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
  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] Passing values to the tabs in a dashboard

Copyright © 1996-2020 Information Builders