Focal Point
[CASE-OPENED] Selection of two reports basis selection of dropdown

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7087013176

June 23, 2014, 02:01 AM
Nasar
[CASE-OPENED] Selection of two reports basis selection of dropdown
Hi,

I have a scenario, where I have two sets of active html reports. I need to call them from a frame on basis of selection from drop down.

How can I achieve this?

-Nasar

This message has been edited. Last edited by: <Kathryn Henning>,


8.06
Windows
June 23, 2014, 03:42 AM
Ramkumar - Webfous
Nassar,

Below are the detailed steps to go about it...

1) Create a dropdown - Add values

2) Create a iFrame

3) Create a Button - Associate a FEX proc, have target as FRAME..

4) Map parameter of the dropdown to an Amper variable in the FEX.

5) In the Fex proc, include the code using -IF ELSE -INCLUDE based on the parameter from dropdown.

6) Make the button invisible

7) Add the javascript to click the button on change event of dropdown.

It works...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
June 23, 2014, 06:40 AM
Ram Prasad E
Nasar,
Do you want to call second active report from the drop down of first active report?

Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
June 27, 2014, 01:13 AM
Nasar
Hi Ram,

No we donot want to call the second fex from the dropdown of first fex. We have a scenario something like this:
- We have two fex's say -ABC.fex and XYZ.fex
2- I want to embed these two fex's on an HTML page, say MNOP.html
3- There should be a drop down(combo box) on the HTML page with values -'ABC' and 'XYZ'.
4- When HTML page loads , the ABC.fex should get displayed by default
5- The user then goes to dropdown and selects the second value(ie-'XYZ') and this triggers the second report ie XYZ.fex to appear at the place where ABC.fex was displayed(by default)

We need to sync these two reports and the drop down on HTML page.


8.06
Windows
June 27, 2014, 02:01 AM
Ramkumar - Webfous
Then please follow the steps I have given above.. it works... Please let us know in case of any issues...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
July 14, 2014, 01:21 PM
J
Even easier (only in WF8):
Creating Parameter Values -> Procedure: How to Use Procedure Names as Values


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs