O'Reilly logo

Liferay Portal Systems Development by Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Expando—custom attribute

The portal provides a feature called custom attribute (or called custom field), which allows extending the profile of users and organizations, with fields, to store custom information. In fact, it allows extending any core entities, such as, Document Library folders and documents, web content, wiki pages, blogs entries, bookmarks entries, calendar events, users, and organizations, and custom entities such as Knowledge Base articles. The Custom attribute is safely stored within the database and is fully indexed.

Models and services

As shown in the following figure, a custom attribute is defined by four entities: ExpandoTable , ExpandoColumn , ExpandoRow , and ExpandoValue . As you can see, the entity ExpandoTable can have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required