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     [SOLVED] Calling Html form from Fex and pass variables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Calling Html form from Fex and pass variables
 Login/Join
 
Gold member
posted
Hi,
How to pass P_domain variable to Html form?

Fex_Name: vendor1.fex and the code is:
-SET &p_domain = &IBIMR_domain;
-HTMLFORM genericfx/app/generic_html_form.htm

generic_html_form is linked to generic_fex and has p_domain parameter. The above Fex code is in Vendor domain Fex which share the generic_fex and generic_html_form. So this &p_domain value should get passed to generic_html_form which passes it to generic_fex. Depending on the p_domain, the generic_fex gets the Vendor_id and build the where clause.
We are having trouble passing P-domain to
-HTMLFORM formname command.
Any help is greatly appreciated.
Thanks,
Ram.

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


WebFocus 7.7.01
Desktop: Windows and Server: Unix
Excel, HTML, PDF
 
Posts: 69 | Registered: September 12, 2009Report This Post
Virtuoso
posted Hide Post
the html form has the parameter p_domain in it. I assume it is in the form of an < input > variable. If so, you can provide the value for this field by specifying value='!IBI.AMP.p_domain;' within the input tag. Note that if you call the html form without this variable being set, it will not produce an error but rather just show the page but without a value for the p_domain veriable.
Example of this:
<input type=hidden name=p_domain value='!IBI.AMP.p_domain;'>
Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Hi DD,

We have had success using the same solution GamP is suggesting. We do it through the HTML Composer.

Open your HTML page in the HTML Composer, click on the icon called "Hidden". In the properties window to the right , name the input field and give it a unique identifier. We set our position as Left=-10000px, Right=-10000px, Tab Index=-1. Lastly set the 'Value' to
!IBI.AMP.p_domain;

You may have to relink your fex file in the HTML page for this to take effect, but this should pass the parameter from a fex, through the HTML reference page, to the final fex.

Good luck!

Lee


7.6.8
Windows xp
html
 
Posts: 22 | Location: Minneapolis, MN | Registered: January 24, 2008Report This Post
Gold member
posted Hide Post
Thanks Alot GamP and Lee. I will try it today.


WebFocus 7.7.01
Desktop: Windows and Server: Unix
Excel, HTML, PDF
 
Posts: 69 | Registered: September 12, 2009Report This Post
Gold member
posted Hide Post
It worked great..I really appreciate your time and help.

Once again Thank You Somuch and have a great weekend.


WebFocus 7.7.01
Desktop: Windows and Server: Unix
Excel, HTML, PDF
 
Posts: 69 | Registered: September 12, 2009Report 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     [SOLVED] Calling Html form from Fex and pass variables

Copyright © 1996-2020 Information Builders