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.
We have a page built in Page Designer (8.2.02) that contains a custom fex as a widget (-HTMLFORM containing bootstrap elements). There are four filters that this widget and the rest of the widgets rely on. The other four widgets are charts that were built using IA and reload perfectly when the user changes the filter selected. The custom fex does not update on filter change, yet it contains the same filters as the IA charts. I thought that this was built into Page Designer where it runs the javascript needed to update the fex, but apparently not. Does anyone know an easy way to have a custom fex update on filter change?
Side Note: The custom widget contains a HOLD FILE where we are reading the values to variables. The HOLD file is where the filters come into play for this custom widget.This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8 Windows, All Outputs
Posts: 5 | Location: Pennsylvania | Registered: March 20, 2017
At the top of your custom fex add the following and run your page
-? &
-EXIT
Verify that your fex do receive the variable value. If not, look in the Page Designer under the Requests & Data Sources to see if your custom widget has its parameters resolved (linked to the proper control).
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Originally posted by MartinY: At the top of your custom fex add the following and run your page
-? &
-EXIT
Verify that your fex do receive the variable value. If not, look in the Page Designer under the Requests & Data Sources to see if your custom widget has its parameters resolved (linked to the proper control).
I set the -? & in the fex and it looks like the four variables in question are not showing up. I am not sure where "Requests and Data Sources" is when you edit a page in Page Designer.
Here is an overview of what we are creating.
-*Include that contains the HOLD file and the four filters in question.
These four WHERE statements below are used in this fex and the other 4 fexes on the Page and they are the top level filters that the users can select on the page.
When the user changes one of these filters, all fexes update except for the one below.
The format of the WHERE statements are the same in all fexes.
Only difference is this one has an -HTMLFORM and the other four are out of the box charts using IA.
-*****INCLUDE*****
TABLE FILE tablename
SUM sum1
BY by1
WHERE DESC EQ &VAR1.(OR(FIND DESC IN TABLE1 |FORMAT=A40V)).Desc:.;
WHERE FILE_DESC EQ &VAR2.(OR(FIND FILE_DESC IN TABLE2 |FORMAT=A40V)).File Desc:.;
WHERE CUSTOMER EQ &VAR3.(OR(FIND CUSTOMER IN TABLE3 |FORMAT=A100)).Customer:.;
WHERE ITEM EQ &VAR4.(OR(FIND ITEM IN TABLE4 |FORMAT=A100V)).Item:.;
ON TABLE HOLD AS holdfilename
END
-RUN
-READFILE holdfilename
-DEFAULTH &sum1 = 0;
-DEFAULTH &Weekly_sum1 = 0;
-SET &Weekly_sum1 = &sum1;
-CLOSE holdfilename
-*****END INCLUDE*****
-HTMLFORM BEGIN
<html>
<body>
<p>Week !IBI.AMP.WEEK_;</p>
!IBI.AMP.Weekly_sum1;
</body>
</html>
-HTMLFORM END
WebFOCUS 8 Windows, All Outputs
Posts: 5 | Location: Pennsylvania | Registered: March 20, 2017