cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize username displayed in UI header ?

Antoine_Cordier
Star Contributor
Star Contributor

Hello,

As users are retrieved binding a LDAP on our platform I get user uid in nuxeo header as the entry for the user menu. Does anyone knows how to change it as firstName and lastNAme are displayed insteed ?

Is there an extension point or do i have to edit nuxeo_header_template.xhtml ?

Thank you !

3 REPLIES 3

sdenef_
Confirmed Champ
Confirmed Champ

Hi,

Seems to be like this old ticket : NXP-1872 Don't know why it changed.

I use Nuxeo DM 5.4.2 and I created a plugin to override this behaviour.

In 5.6 I think the file is : nuxeo_header_template.xhtml

Search "userButton" and you can see #{messages['label.loggedAsUser']}

check properties here : messages.properties

I think it would be better to use a method similar to nxu:userFullName

Thank you sdenef !

And perhaps you can open a new ticket in JIRA