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] Dashboard Tab Variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Dashboard Tab Variable
 Login/Join
 
Silver Member
posted
Hello,

Version 7.71

Using Dashboard Builder, with many tabs. On each tab, I would like to run a "COMMON" fex. Inside that common FEX, I would like to include a "SPECIFIC" report. To determine which report to run, I would like to "READ" a variable that tells me that the user is on TAB1.

Looking at all the variables, I don't see it.

Thank you.

This message has been edited. Last edited by: Kerry,
 
Posts: 37 | Registered: January 11, 2008Report This Post
Expert
posted Hide Post
You may be able to put a hidden variable in each tab that is passed to the fex.


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
Silver Member
posted Hide Post
Your recommendation is to modify the Dashboard HTML to pass along a variable?

Do you happen to know what file needs to be modified? I couldn't locate any settings within the dashboard builder.
 
Posts: 37 | Registered: January 11, 2008Report This Post
Expert
posted Hide Post
Sorry, I misunderstood, I thought you were developing an HTML page with tab controls using Dev Studio HTML Composer.

In B.I. Dashboard Viewbuilder, each tab (or page) can have one or more blocks. Each block usually points to a different program - fex or HTML page.

I can't think of a way to set the fex to be the same for each tab but passing a different variable.

The best way to achieve this is to create one fex for each tab. That fex includes the common fex and also sets a parameter and includes the specific report.


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
Silver Member
posted Hide Post
Thanks for the reply, was hoping to reduce the number of files to create...but your idea should work. I will give it a try...

For others, here is the plan:

On a Dashboard Tab, create a block and assign a specific fex to it. The fex will do the following:

  • Set the value of a variable with the current tab
  • Include the generic html file


Sounds simple. And a easy way to reduce the number html files to maintain.

Thanks!
 
Posts: 37 | Registered: January 11, 2008Report This Post
Silver Member
posted Hide Post
quote:
Originally posted by Francis Mariani:
Sorry, I misunderstood, I thought you were developing an HTML page with tab controls using Dev Studio HTML Composer.

In B.I. Dashboard Viewbuilder, each tab (or page) can have one or more blocks. Each block usually points to a different program - fex or HTML page.

I can't think of a way to set the fex to be the same for each tab but passing a different variable.

The best way to achieve this is to create one fex for each tab. That fex includes the common fex and also sets a parameter and includes the specific report.


I tried to implement this, but I am unable to have a FEX call/include a HTM page. Any thoughts?
 
Posts: 37 | Registered: January 11, 2008Report This Post
Expert
posted Hide Post
This is a fex:

-SET &APPLES = 'RED';

-HTMLFORM MYHTML1

myhtml1.htm is a file in the app path of the reporting server (not the web server).


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
Silver Member
posted Hide Post
quote:
-HTMLFORM MYHTML1

Perfect, thank you for the specific code.
 
Posts: 37 | Registered: January 11, 2008Report 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] Dashboard Tab Variable

Copyright © 1996-2020 Information Builders