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] Full name on html page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Full name on html page
 Login/Join
 
Master
posted
Hai all..

I have a dashboard which has a html page as launch page. My requirement is like this. I need to display first name and last name of the MR user on that page based on the MR user ID who logs in to see that dashboard. Those names are stored in a database or a flat file. How can I achieve this?

thanks..

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


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Expert
posted Hide Post
You could use AJAX techniques to run MR_GET_DOMAINS specifying an IBIMR_returntype of XML. Parse this using JavaScript and a pattern of "//CURRENT_USER". This will give you the MR Userid. Then use this in another AJAX process to access your database.

I actually use this method to obtain the last value selected in a listbox for a user, also to write away a new value when the user changes the selection.

Unfortunately if you are not conversant with JavaScript and AJAX techniques then you might have difficulties.

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
Master
posted Hide Post
Any other views from others?

Thankss


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
<JG>
posted
Easiest way would be to use a site or user profile that set a global variable based on IBIMR_user
 
Report This Post
Expert
posted Hide Post
edit client site.wfs
(ibi/WebFOCUS76/client/wfc/etc/site.wfs)
to ensure that it includes
<SET>IBIMR_user(PASS)

Then recycle tomcat or whatever you're using.
write a fex to read your name database
TABLE FILE mydatabase
PRINT myusersname
WHERE userid EQ &IBIMR_user
ON TABLE SAVE
END
-RUN
-READ SAVE &myusersname.A50 (or however long it is)
..now prepare your default report page displaying this &variable. You can do this now, yes?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
thanks susannah..i did that in the morning and was about to update the same and you suggested the same solution.

thanks a lot all..


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 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] Full name on html page

Copyright © 1996-2020 Information Builders