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     [Closed] Same fex files- different panels

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed] Same fex files- different panels
 Login/Join
 
Gold member
posted
Hi,

Is it possible to add same fex file to different panels just by mentioning different values in the where clause of the fex file?

Thank you.

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


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Virtuoso
posted Hide Post
MeM,

What are you referring to? The BI Portal designer? Strictly a procedure? The HTML Canvas/Composer tool?


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
I'm trying to load a procedure to the different panels in HTML page. In the procedure, I'm using where clause with different values using the parameter.


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Virtuoso
posted Hide Post
So, I'm guessing you're referring to the HTML Canvas tool. If I'm understanding you right, you want the same report to load in different panels but based on what the value is of a specific parameter value passed to these reports, a certain subset of data is loaded for each.

If you want this type of scenario for your page, why not just hardcode the different values? Is there many possible values? Or just a few? Will the user be selecting only one value for this parameter at a time? Or do you want the value to have the capacity to be selected many times in parallel before runtime for many different panels?


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
I can hardcode the values in the where clause and create the copies of the procedure with different values in the where clause of each procedure.

But we don't want to hard code the value and create the copies of the procedure. We want just one copy of procedure and the where clause should contain the values according to panel number


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Virtuoso
posted Hide Post
What we've done to accomplish this for one of our HTML pages was have a specific report we wanted to run in a panel, and instead of having the parameter being passed to the actual fex for the report, we placed a "controller" fex in its place in the panel. The parameter gets passed to the controller fex that has some logic that says based on the parameter value, run this report with value A vs value B. That way we retain one report fex, but can run either it or even other fexes in the specific panel based on what's passed to it. Does that help for an idea?


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
Thank you.. Can you please give me an example how this can be done?


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Virtuoso
posted Hide Post
Example:

We have a radio button group in our form. Based on what the user selects there, a value for &FOURWKRPT is passed along with all the other values that are required. Based on what the value is for that parameter, a particular fex is ran, as shown:

-* Controller procedure to determine whether to run the 4 wk rollup report by cashier or by store based on the value passed
-* for &FOURWKRPT (C or S).

-* Other parameter defaults were here...

-DEFAULT &FOURWKRPT = 'C';

-IF &FOURWKRPT EQ 'C' THEN GOTO CashierRpt ELSE IF &FOURWKRPT EQ 'S' THEN GOTO StoreRpt;

-CashierRpt

-INCLUDE IBFS:/WFC/Repository/contentFolder/restOfPath/Cashier_4wk_Summary.fex

-IF &FOURWKRPT EQ 'C' THEN GOTO EndOfProc;

-StoreRpt

-INCLUDE IBFS:/WFC/Repository/contentFolder/restOfPath/Store_4wk_Summary.fex

-EndOfProc


The reports could be totally different yet related, or even visualizations such as charts, etc. The sky's the limit.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
Thank you..


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report 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     [Closed] Same fex files- different panels

Copyright © 1996-2020 Information Builders