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.
It may contains 4 reports in HTML form by using HTML layout. We want to pass a common set of parameters to all these 4 reports (in same HTML form). I only see the sample to pass a common set of parms to one report and one external report in Designing a User Interface for a Web Application With the HTML Layout Painter. Is this possible?
Thanks in advance for your response!This message has been edited. Last edited by: Kerry,
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003
Leah, that's what I thought as long as I apply same where conditions to all reports, then the common set of parms should applied to all the reports. It is NOT true when I ran it, and found the common set of parms only applied to one of the reports, not all! This is in the version 7.60.
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003
does your fex produce 4 separate html tables thatyou want to display at the same time? or does your fex produce 4 separate files that you post somewhere. It might be an important distinction. -* heres 1 way - your form launches a fex that, itself, runs the 4 individual fexes;
-SET &MYPAR1M = 'VALUE1' ; -SET &MYPARM2 = 'VALUE2'; -SET &MYPARM3 = 1234 ; EXEC FEX1 MYPARM1 = &MYPARM1 , MYPARM2 = &MYPARM2, MYPARM3 = &MYPARM3 -RUN EXEC FEX2 MYPARM1 = &MYPARM1 , MYPARM2 = &MYPARM2, MYPARM3 = &MYPARM3 -RUN EXEC FEX3 MYPARM1 = &MYPARM1 , MYPARM2 = &MYPARM2, MYPARM3 = &MYPARM3 -RUN EXEC FEX4 MYPARM1 = &MYPARM1 , MYPARM2 = &MYPARM2, MYPARM3 = &MYPARM3 ... or if you have no labels/internalparms in common you can use -INCLUDE FEX1 ... etc, risky. nb1: the command EXEC contains an internal -MRNOEDIT BEGIN...which really screws things up if you're trying to go to a remote server with this sort of JCL. nb2: if your individual fexes produce an html report, make sure you ON TABLE HOLD AS MYTAB1..
ON TABLE HOLD AS MYTAB2, etc and do NOT use -HTMLFORM BEGIN in any of these fexes (bypass it , if you do) Then at the end of this EXEC jcl, you plop your -HTMLFORM BEGIN !IBI.FIL.MYTAB1; !IBI.FIL.MYTAB2; ..etc -HTMLFORM END
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Susannah, we are using different platform than yours. Our situation is one HTML file contains 4 focexec queries. Here is a portion of HTML file looks like (this is done in Webfocus HTML Layout):
<request requestid="0" targetname="report1" ibif_ex="report1" targettype="0" sourcetype="typeAdhocfex" ibiapp_app="" paramremovedbyuser="CAR&COUNTRY">
< ![CDATA[-*focexectool
TABLE FILE CAR
PRINT
CAR
BY COUNTRY
WHERE ( CAR EQ '&CAR.(FIND CAR IN CAR).Select a car.');
WHERE ( COUNTRY EQ '&COUNTRY.(FIND COUNTRY IN CAR).Select a country.');
HEADING
""
FOOTING
" "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
END]]>
<variables>
<variable field="CAR" file="CAR.mas" desc="Select a car" datatype="1" operation="" default="" name="CAR" accept="0" type="unresolved" select="0" controltype="8">
</variable>
<variable field="COUNTRY" file="CAR.mas" desc="Select a country" datatype="1" operation="" default="" name="COUNTRY" accept="0" type="unresolved" select="0" controltype="8">
</variable></variables></request>
<request requestid="1" targetname="report2" ibif_ex="report2" targettype="0" sourcetype="typeAdhocfex" ibiapp_app="" paramremovedbyuser="CAR&COUNTRY">
< ![CDATA[TABLE FILE CAR
WHERE ( CAR EQ '&CAR.(FIND CAR IN CAR).Select a car.');
WHERE ( COUNTRY EQ '&COUNTRY.(FIND COUNTRY IN CAR).Select a country.');
PRINT
MODEL
RETAIL_COST
BY COUNTRY
BY CAR
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
END]]>
This message has been edited. Last edited by: Kerry,
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003
Here is the javascript code. I hided 3 buttons, and each is associated with a report resides in the separate frame, but within one html form. When you click on the first button, you set focus to other 3, and other 3 buttons launch onfocus event. To the users, all the events happens at same time.
function button1_OnClick(ctrl) { // TODO: Add your event handler code here OnExecute(ctrl) button2.focus(); button3.focus(); button4.focus();
}
function button2_onfocus(ctrl) { OnExecute(ctrl) }
function button3_onfocus(ctrl) { OnExecute(ctrl) }
function button4_onfocus(ctrl) { OnExecute(ctrl) }
function button4_OnClick(ctrl) { // TODO: Add your event handler code here OnExecute(ctrl) }
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003
I'm not sure if this is where you're going, but take a look at your "hyperlink properties" for your button_1. You can add multiple hyperlinks to a single button...
Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF
I am running into the same problem. I have 4 report blocks(Iframes) with one input parameter common for all. For some reason only one gets refreshed. I have updated the hyperlink properties to add all 4 external procedures. here's the code for IFRAMES
I just want to be able to refresh all IFRAMEs but only report4 gets updated. THey're all Active reports if it matters and I'm using HTML Composer 7.7.2