Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why


Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
Oriol Mesia
Redefining Liferay Users
12 giugno 2013 7.24

Oriol Mesia

Punteggio: Junior Member

Messaggi: 64

Data di Iscrizione: 4 aprile 2013

Messaggi recenti

Hi I'm looking about how I can redefine the definition of Users in Liferay.

I want to add more attributes to them. For example: Department, Company, DNI,etc...

I was looking to the custom fields, but I want a redefinition of the code. I really need to create a hook for defining new parameters for users?

I also tried to add:


In, but when I create a new user I didn't find the possibility to fill this attributes.

How exactly I can do that?

Thank you so much,
Rahul Pande
RE: Redefining Liferay Users
14 giugno 2013 1.01

Rahul Pande

Punteggio: Expert

Messaggi: 308

Data di Iscrizione: 6 luglio 2010

Messaggi recenti

Hi Oriol,

These properties are used to show or hide the sections in user form while adding. If you want to add new properties for user then you can create custom attributes for User.
If you want to add these custom field section in user creation form then add following property in file.


In this way miscellaneous section will be included as part of the user form when adding a user. There you can see your custom attributes.


Rahul Pande