Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Manish Kumar Jaiswal
Tables for Custom attributes
9. September 2012 09:11
Antwort

Manish Kumar Jaiswal

Rang: Regular Member

Nachrichten: 133

Eintrittsdatum: 25. November 2008

Neue Beiträge

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
9. September 2012 09:39
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11793

Eintrittsdatum: 1. September 2006

Neue Beiträge

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
9. September 2012 15:33
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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
5. November 2012 14:32
Antwort

Nagendra Kumar Busam

Rang: Liferay Master

Nachrichten: 653

Eintrittsdatum: 7. Juli 2009

Neue Beiträge

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