Focal Point
[CLOSED] Passing parameters from fex to Composer HTML page

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

May 07, 2010, 04:01 PM
texgator
[CLOSED] Passing parameters from fex to Composer HTML page
In a multi-drill-down report, is there a way that when one of the drill down links is clicked, it opens up an HTML page (created in Composer) with four frames and passes the parameters from the main fex to the fexes connected to the four frames of the composer html page?

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


WebFOCUS 7.6.10
Windows
all output (Excel, HTML, PDF)
May 13, 2010, 05:06 PM
BarryS
1. In the htmlform.htm file, add the following code above the function window_onload and below <script id=clientEventHandlersJS type=text/javascript>:

var varNamePassed= "!IBI.AMP.amperVariableNameFromFEX;";

2. Create a fuction onInitialUpdate() and add the following:
function onInitialUpdate()
{
document.getElementIdBy('controlName').value = varNamePassed;
}

3. I have tested this from a focexec that has the amperVariableNameFromFex and then used -HTMLFORM theHtmlPage.htm


WebFOCUS 8103, Windows, App Studio