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.
Is there a way we could pass on values between TWO HTML pages and the chaining?
Say I have a COUNTRY List box in One HTML page. Selecting the country value and click on submit should go to another page, where I need to have a List box of CARS according to the selection Country in the pevious page.
I tried Like this... Tried to set a Hidden variable for country and Populate the CAR list box using populateDynamicCtrl... But thats not working...
My car.fex
TABLE FILE CAR
BY CAR
WHERE COUNTRY EQ &COU
ON TABLE PCHOLD FORMAT XML
END
Create your second page with 2 objects. The one coming from the first page (hidden) and the one you want to popluate. They would be chanined. You could then call the second page with a parameter and then select the value from the first parameter.
Problem is that you cn only chain dynamic oobjects. First try and create the second screen without the first object being hidden and test that it works, chain and all. Next create the javascript to change your first object based on a parameter to the page, keeping the first object visible. Lastly hide your first object.
The approach I would use is to set a cookie on the first HTML page with the value you want and use GETCOOKI to retrieve the value in the FEX on the second page.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Currently there is no issues in passing the values from one page to FEX or other page. The value is available in the IBI.AMP variable. But It is not possible to Inject the value into the WHERE clause of the FEX that is associated with the List box... Is there a way to do this ?
Thanks,
Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
TABLE FILE CAR
BY CAR
WHERE COUNTRY EQ &COU
ON TABLE PCHOLD FORMAT XML
END
I believed you were saying that &COU was not being evaluated as it was called from a second page.
What I think is that creating a cookie in the first page , opening the second page and using the GETCOOKI function in the fex should allow the value to be transferred, page to page and into the fex.
This is a technique I have used before.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
That is not actually correct. Starting in release 769, you can chain statically populated controls. You need to create the mapping of values in the Properties and Settings dialog though for all possibilities.
Also, you can pass a value from one page to another by populating the parameter on page 1 and then when you set up the hyperlink to call page 2, HTML Composer will parse page 2 for unresolved variables, and if you don't create a control for them, they are passed from page 1 to page 2. You can even select the "Additional Parameters" button at the bottom of the hyperlink dialog to see the parameter list of parameters created in HTML Composer and double-click those you want to send with the hyperlink to page 2.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
Ooh boy! I'd love to see a working example of this - based on past experience, it all sounds too good to be true.
It would be nice for Information Builders to provide a library of examples, every new sub-release adds new features that sound amazing but end up difficult or impossible in implementing.
Thank you very much,
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
Page 235 of the 7702 HTML Composer manual explains how to pass parameters from one page to another.
I can give you an example of static value chaining and of passing a parameter from one page to another, however, I don't believe Focal Point accepts uploaded files. Would you want the code for the pages just displayed here, or shall I send them to you through normal email attachments - I'll need your email address to send them if you prefer that method.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
I believed you were saying that &COU was not being evaluated as it was called from a second page.
What I think is that creating a cookie in the first page , opening the second page and using the GETCOOKI function in the fex should allow the value to be transferred, page to page and into the fex.
This is a technique I have used before.
Hi Alan,
Thank you very much for your reply. Could you please share a sample piece of code if you have any?
Thanks,
Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
Here is an example created in 7.6.10 where a value from a previously selected list is passed to a 'downstream' list in the chain and then is used in the where clause of the 'downstream' list. As of 7.6.9 you can manually enter the value in the 'Resolves Parameter' box and this allows you to determine what variable is populated by the previously selected item.