Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Javascript - Need to Pass Parameter from 1 Fex to another Panel in BIP
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Javascript - Need to Pass Parameter from 1 Fex to another Panel in BIP
 Login/Join
 
Platinum Member
posted
Hello,

I'm trying to pass a parameter from one fex to another in a Portal when the .fex finishes loading. I'm planning on using Javascript for this since the Wait for Completion animation in HTML Composer seems to be unreliable when running procedures.

Here is my code below. What I want to do is pass &CLAIM_FEX to Panel_3_1. How might I do this?

 

-SET &CLAIM_FEX = 1;

-HTMLFORM BEGIN
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #report1{
            width:100vw;
            height:100vh;
        }
    </style>
</head>
<body onload="myFunction()">
    <script>

		function myFunction()
		{
		var frameArray = [ "Panel_3_1"];
		parent.BipIframeInterface.refresh(parent.BipIframeInterface.REFRESH_ARRAY, name, frameArray);
		}
    </script>
	<form name=test>
	<input type="hidden" name="CLAIM_FEX" value="1">
	</form>
</body>
</html>
-HTMLFORM END


 

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
 
Posts: 138 | Registered: July 10, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Try this...

<input type="hidden" name="!IBI.AMP.CLAIM_FEX;" value="1">


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2001 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Hey Chuck,

Thank you for your response. That makes sense but didn't pass the parameter how I expected it to.

Should I put the Input Type tag in a different spot of the HTML code?


WebFOCUS 8204
 
Posts: 138 | Registered: July 10, 2018Reply With QuoteReport This Post
Platinum Member
posted Hide Post
I figured this out. I created an HTML canvas and copied the code and modified. I can share what I came up with when done.

Thanks for the help!!


WebFOCUS 8204
 
Posts: 138 | Registered: July 10, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Javascript - Need to Pass Parameter from 1 Fex to another Panel in BIP

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.