Foren

Tables for Custom attributes

thumbnail
Manish Kumar Jaiswal, geändert vor 11 Jahren.

Tables for Custom attributes

Regular Member Beiträge: 153 Beitrittsdatum: 25.11.08 Neueste Beiträge
Where does the entries for custom attributes and there values goes when we create it for suppose User entity?

Regards
Manish
thumbnail
David H Nebinger, geändert vor 11 Jahren.

RE: Tables for Custom attributes

Liferay Legend Beiträge: 14914 Beitrittsdatum: 02.09.06 Neueste 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.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Tables for Custom attributes

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste 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.
thumbnail
Nagendra Kumar Busam, geändert vor 11 Jahren.

RE: Tables for Custom attributes

Liferay Master Beiträge: 678 Beitrittsdatum: 07.07.09 Neueste 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