Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     URL parameters & WebFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
URL parameters & WebFOCUS
 Login/Join
 
Member
posted
Hi everyone,

Could someone explain, how can I pass parameters from one HTML to another and tell WebFOCUS to capture them?

Is there any possibility to have an example of this scenario?

I'm using HTML Layout Painter to design my dashboards (eg.: dash_A and dash_B ).

Thank you very much!

Gabriel Siler
gabriels@technolabcorp.com
 
Posts: 16 | Registered: June 08, 2005Report This Post
Gold member
posted Hide Post
I'm not sure exactly what you are trying to do but you can use cookies to pass values between pages or you can parse the URL parameters. It might help if I knew exactly what you were trying to do...
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Gold member
posted Hide Post
You can launch mypage2.htm form mypage1.htm like so: http://servername/mypage2.htm?parm1?parm2?parm3

Then in mypage2.htm you can "split" the string like so:

var args = location.search.substr(1).split("?");
var arg1 = unescape(args[0]);
var arg2 = unescape(args[1]);
var arg3 = unescape(args[2]);

If you have input parameters for a fex in mypage2.htm you can set the value of that input to arg1, arg2, or arg3.... HTH
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Gold member
posted Hide Post
Another approach would be to make your second page a fex with an htmlform in it and pass the amper variables from the first page into the "VALUE" property of a hidden input field in the -HTMLFORM. See sudo code below.


-HTMLFORM BEGIN







-HTMLFORM END

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


"This is your life.
Are you who you want to be?"
Switchfoot
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     URL parameters &amp; WebFOCUS

Copyright © 1996-2020 Information Builders