How to customize username displayed in UI header ?


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 !

0 votes

1 answers




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 :

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

0 votes

Thank you sdenef !

I was not so fat but I missed the org.nuxeo.ecm.webapp.ui requirement part of the trick … Your answer gave me a great help in understanding the trick !


And perhaps you can open a new ticket in JIRA

I agree with you : using user full name sounds better to me than user login/ID (especially in a company environment)