cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How to display Full User Name in Windchill Header

Rajesh_A
2-Guest

How to display Full User Name in Windchill Header

Hi Guys,


Using W10.1 M040.


Verified in shell.jsp.


Hard coded HeaderUtil.getWelcomeMessage() ..Now hard coded value is reflecting in the Windchill Header panel.


But I need to show User Full Name in the Windchill Header panel.


So how the WTUser object can be used in shell.jsp file to display User Full Name.


Is there any other way, it can be done?


Pls help.


Thanks in advance.

1 REPLY 1

I have no idea what you are talking about regarding shell.jsp and some
method called HeaderUtil.getWelcomeMessage(), but you either need an Ajax
call to load the WTUser fullname or output it to a javascript variable which
can be used with ExtJS, or the PTC javascript API to update the HTML element
with the userid in it.



The information comes from the server. request.getRemoteUser() just returns
the HTTP user in the Authorization Header. You stillhave to then get the
WTUser having that as a string. In older posts I explain several means to do
this.





Having fully customized the banner, (but not yet released it), I can assure
you this is the only 2 ways to achieve this. Highly recommend the
javascript variable approach.






Top Tags