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     transmission of the IBIC_user from a htlm form to a fex

Read-Only Read-Only Topic
Go
Search
Notify
Tools
transmission of the IBIC_user from a htlm form to a fex
 Login/Join
 
Gold member
posted
Hello everybody,

First, excuse me if my english is not perfect.

Here is the problem I have.

From a html page, I call a fex with the current user profile (we are in trusted mode for the password)
(https://..../ibi_apps/WFServlet?IBIF_ex=w8fichehis_parm&IBIC_user=XXXXX)

In the fex call w8fichehis_parm, I just have these 5 lines to call a form
-SET &DAT_DEB = '01/01/1980';
-SET &DATEEDT = EDIT(&DMYY,'99/99/9999');
-SET &DAT_FIN = &DATEEDT;
-HTMLFORM w8fichehis_parm.htm
-RUN

These form has only 2 calendar fields to allow the user the choose the starting date and the end date for the report and a push button to submit the request.
On the button, I have defined a Hyperlink, action = external procedure, source=the name of the procedure to run, etc....

When I click the button, I received a failure message "Error when trying to connect to server node, invalid references.".
I know that it's a security problem, I have changed the site.wfs file to add IBIC_U=user(PASS) but it still does not work.

If you have any idea to help me, I'm waiting for you !

Merci beaucoup (= Thanks a lot in french).


7.7.02 (Html, Excel, Ahtml, Pdf,Graph,.....)
OS400 V5R3, V5R4
Windows 2000/2003/2007/2010
 
Posts: 68 | Location: France | Registered: February 27, 2008Report This Post
Expert
posted Hide Post
Cati,

Are you using the HTMLFORM w8fichehis_parm.htm in any other procedure? The reason I ask is that you need to make changes to the HTML contained within it.

Basically, to pass a variable from an HMTL page to a fex, you must have it declared within the HTML. Now because you are using the syntax -HTMLFORM [formname] you can make use of the ability to include variable values from the host fex using the !IBI.AMP.[variable name]; syntax.

Insert an HTML tag between the form tags in your w8fichehis_parm.htm like this -
<input id=IBIC_user name=IBIC_user value="!IBI.AMP.IBIC_user;'>
That should work for you OK.

Bon chance

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
thank you very much tony,

It's work perfectly.

Catherine.


7.7.02 (Html, Excel, Ahtml, Pdf,Graph,.....)
OS400 V5R3, V5R4
Windows 2000/2003/2007/2010
 
Posts: 68 | Location: France | Registered: February 27, 2008Report 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     transmission of the IBIC_user from a htlm form to a fex

Copyright © 1996-2020 Information Builders