Combination View Flat View Tree View
Threads [ Previous | Next ]
Manish Kumar Jaiswal
Tables for Custom attributes
September 9, 2012 9:11 AM
Answer

Manish Kumar Jaiswal

Rank: Regular Member

Posts: 133

Join Date: November 25, 2008

Recent Posts

Where does the entries for custom attributes and there values goes when we create it for suppose User entity?

Regards
Manish
David H Nebinger
RE: Tables for Custom attributes
September 9, 2012 9:39 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6822

Join Date: September 1, 2006

Recent Posts

They are expando values and go into the expando tables.

You should not access these tables directly, instead use the Expando APIs to access the values.
Hitoshi Ozawa
RE: Tables for Custom attributes
September 9, 2012 3:33 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

All the information pertaining to custom attributes regardless of where it is used are saved to expando tables. There are expandocolumn, expandorow, expandotable, and explandovalue tables. If you create too many custom attributes with many rows, performance may degrade because of this.
Nagendra Kumar Busam
RE: Tables for Custom attributes
November 5, 2012 2:32 PM
Answer

Nagendra Kumar Busam

Rank: Liferay Master

Posts: 636

Join Date: July 7, 2009

Recent Posts

Hi Hitoshi,

What will be the best approach to go forward If I have to create extra fields for OOTB liferay components such Organization/User.

Is it by creating a custom table using new service.xml for extra fields which stores all those extra fields.

For e.g., I need to create 5-8 extra fields for organization, In my case I might be having 50,000 organizations.

Thanks,
- Nagendra Kumar