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     Passing a User ID from HTML for a Custom Menu

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Passing a User ID from HTML for a Custom Menu
 Login/Join
 
Gold member
posted
I just got WebFOCUS version 5.3, and I am going though the "Developing Reporting Applications" manual inorder to learn WebFOCUS techniques.
I have been having a problem with the topic of "Passing a User ID from HTML for a Custom Menu". In step 4 "Modifying the SITE.WFS files" on page 9-56 I followed the instructions and added "<sendvar>RUSER=&IBIC_user<endsendvar>" to both the SITES.WFS and IBICOMMD.WFS files and attempted to signon to the demo application, and preceed through FHSUB.fex onto the SUBMEN.HTM page with the proper report options being displayed. I have not been able to get the proper menu options to be displayed.

SIGNON.htm appears to be working correctly, since when I type in garbage I get the "Invalid Credentials" screen. When I type in the UserId and Password that I use to logon to WebFOCUS, I get forwarded to the SUBMEN.htm screen, but no menu options are displayed. I did a view source of that screen, and I can see that the variable &RUSER is blank. According to the instructions in Step 4 (page 9-56) the dialog manager varable &RUSER should have been set to the value of IBIC_user.
Why isn't this happening? Since, I am using a new installation of WebFOCUS 5.3, do I need to modify any of the default settings for this software?
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
<WFUser>
posted
John,

It looks like you are looking at outdated documentation. The correct syntax is:

RUSER=&IBIC_user
<SET>RUSER(pass)

You only need to put this in the site.wfs and make sure you recycle the java application server or reload the web app.
 
Report This Post
Gold member
posted Hide Post
I modified C:\ibi\client53\wfc\etc\site.wfs so that it appears as follows:

<VER 1>
# place any variables here from cgivars.wfs that you wish to override.
RUSER=&IBIC_user
<SET>RUSER(pass)
_HTML_COMMENT_VAR=CGI gened on &_cgi_gen_var\n


I restarted the Report and Client servers but I still get an empty &RUSER variable in my FHSUB.FEX. I am able to sucessfully logon using the Signon.htm screen, but I am not able to pass the &RUSER dialog manager variable to the FHSUB.FEX program. Upon viewing the source code, I can see that the &RUSER variable is equal to blank, and not the value of &IBIC_user.
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
<WFUser>
posted
I tested it myself and you're right. For some reason the assignment in site.wfs isn't working. I was however able to pass IBIC_user.

<SET>IBIC_user(pass)

I was then able to access &IBIC_user in my fex. If you need &RUSER, you can always
-SET &RUSER = &IBIC_user;
in your fex. Give that a try.
 
Report This Post
Gold member
posted Hide Post
I still cannot figure it out. I tried what you suggested but it still does not work. I checked the latest documentation on "Developing Reporting Applications" on the IBI website, and the documentation matches the documentation I have. Since Step 4 (page 9-56) appears to be in error, I'll contact Tech Support about it. Hopefully they will be able to update the documentation with the correct information. Once that happens, then I'll return to this topic.
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report 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     Passing a User ID from HTML for a Custom Menu

Copyright © 1996-2020 Information Builders