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,
March 24, 2011, 01:01 PM
Francis Mariani
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
March 24, 2011, 02:06 PM
Ublguy
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.
March 24, 2011, 03:22 PM
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.
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
March 24, 2011, 03:34 PM
Ublguy
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!
March 28, 2011, 02:59 PM
Ublguy
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?
March 28, 2011, 03:48 PM
Francis Mariani
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