<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: Custom Attributes - Where to apply them OOTB</title>
  <link rel="self" href="https://liferay.dev/ca/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=1390485" />
  <subtitle>RE: Custom Attributes - Where to apply them OOTB</subtitle>
  <id>https://liferay.dev/ca/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=1390485</id>
  <updated>2026-05-11T04:36:28Z</updated>
  <dc:date>2026-05-11T04:36:28Z</dc:date>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5811934" />
    <author>
      <name>ankit yakkundi</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5811934</id>
    <updated>2010-09-08T06:05:35Z</updated>
    <published>2010-09-08T06:05:35Z</published>
    <summary type="html">hi..&lt;br /&gt;i am using liferay 6.&lt;br /&gt;In control panel there is a tab called custom fields,where we can add new meta data for portlet.&lt;br /&gt;&lt;br /&gt;I created a new field for webcontent called webid.when i create a new web content this field is visible under abstract tab. when i enter value into that field and search that field in web-content search and normal search portlet i don&amp;#39;t get the result...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;can you tell me what i need to do,so that i can search the custom fields also..&lt;br /&gt;&lt;br /&gt;i am not able to search using any custom attributes for any portlet.&lt;br /&gt;Any idea or suggestions are welcome...&lt;br /&gt;&lt;br /&gt;thanks in advance..</summary>
    <dc:creator>ankit yakkundi</dc:creator>
    <dc:date>2010-09-08T06:05:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4934039" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4934039</id>
    <updated>2010-05-06T09:35:30Z</updated>
    <published>2010-05-06T09:35:30Z</published>
    <summary type="html">Hi Chris,&lt;br /&gt;&lt;br /&gt;For the JSPs, I would recommend looking at the new ones from v6.0 which already have expandos integrated for bookmarks,document library,and images.</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2010-05-06T09:35:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4925890" />
    <author>
      <name>Juan Fernández</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4925890</id>
    <updated>2010-05-04T14:18:46Z</updated>
    <published>2010-05-04T14:18:46Z</published>
    <summary type="html">Hi, Chris:&lt;br /&gt;read &lt;a href="http://www.liferay.com/web/juan.fernandez/blog/-/blogs/sample-expando-hook"&gt;this post&lt;/a&gt;. I think it would be helpful&lt;br /&gt;Regards&lt;br /&gt;Juan Fernández</summary>
    <dc:creator>Juan Fernández</dc:creator>
    <dc:date>2010-05-04T14:18:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4925455" />
    <author>
      <name>Chris Whittle</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4925455</id>
    <updated>2010-05-04T12:39:57Z</updated>
    <published>2010-05-04T12:39:57Z</published>
    <summary type="html">I know this is an older post but I&amp;#39;m trying to implement custom attributes for bookmarks,document library,and images.. My users want a publish date and an small image url (similar to the Web Content)... We&amp;#39;re using 5.2 Sp3 and I can&amp;#39;t seem to an easy way to do it... &lt;br /&gt;This post talks about what we want something were we don&amp;#39;t have to change the backend for every new attribute (just controlling it on the frontend) but I don&amp;#39;t see where this is actually done... &lt;br /&gt;I think I&amp;#39;m going to have to use expandos and on the frontend(JSP) reference that Expandos value and then change the backend(Action) to save that value in the expando table is that correct?  &lt;br /&gt;Thanks &lt;br /&gt;Whitt</summary>
    <dc:creator>Chris Whittle</dc:creator>
    <dc:date>2010-05-04T12:39:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4025642" />
    <author>
      <name>Julio Camarero</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4025642</id>
    <updated>2009-09-15T15:42:15Z</updated>
    <published>2009-09-15T15:42:15Z</published>
    <summary type="html">Hi Baris, &lt;br /&gt;&lt;br /&gt;you first have to add that custom attribute to Users (there is a button to do that in the users administration toolbar) and it will be automatically shown in the users administration in the section &amp;#34;Custo Attributes&amp;#34;.&lt;br /&gt;&lt;br /&gt;If you want to show it in the first page of the user administration (for example), then, you should use your ext environment to overwrite the jsp file for the profile of the user (enterprise_admin/user/details.jsp).&lt;br /&gt;&lt;br /&gt;There is more info here: &lt;a href="http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/How%20to%20use%20Custom%20Attributes%20to%20enhance%20Users"&gt;How to use Custom Attributes to enhance users&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Julio</summary>
    <dc:creator>Julio Camarero</dc:creator>
    <dc:date>2009-09-15T15:42:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3874211" />
    <author>
      <name>Secret Developer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3874211</id>
    <updated>2009-08-25T14:27:12Z</updated>
    <published>2009-08-25T14:27:12Z</published>
    <summary type="html">I&amp;#39;m not sure if I understand how custom attributes work. How can I add a custom attribute into a user&amp;#39;s profile, and they will have to choose a picture from a drop down menu?&lt;br /&gt;&lt;br /&gt;Baris</summary>
    <dc:creator>Secret Developer</dc:creator>
    <dc:date>2009-08-25T14:27:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3865165" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3865165</id>
    <updated>2009-08-24T17:48:04Z</updated>
    <published>2009-08-24T17:48:04Z</published>
    <summary type="html">Hi Amine, &lt;br /&gt;&lt;br /&gt;It&amp;#39;s an interesting idea, although it&amp;#39;s hard for me to know for sure if it&amp;#39;s the best way to go. I&amp;#39;ll keep in mind and talk about it with other Liferay architects when I have a chance.&lt;br /&gt;&lt;br /&gt;If you do any further work on it (be it code, wireframes, ...) let me know.&lt;br /&gt;&lt;br /&gt;Jorge</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2009-08-24T17:48:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3741949" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3741949</id>
    <updated>2009-08-06T16:50:14Z</updated>
    <published>2009-08-06T16:50:14Z</published>
    <summary type="html">Hi Amine, thank you. You do have good points on web content (Journal Article, Structure, Template). &lt;br /&gt;&lt;br /&gt;Now the Expando (Custom Attributes ) is available for a set of objects: User, Organization, Wiki, Blogs, Bookmarks, Document, Image, etc. (See below screenshot)&lt;br /&gt;&lt;br /&gt;Similar features would be useful for Document Library documents - CMS (DM and RM) of Alfresco.&lt;br /&gt;&lt;br /&gt;Hi Jorge, thank you. It is very good that the Expando (Custom Attributes ) is available for any ServiceBuilder generated entities, especially for Document Library Document. Through custom attributes, documents can have many columns (metadata). That&amp;#39;s cool.&lt;br /&gt;&lt;br /&gt;I guess that there are a few limitations for Document Library plus Custom Attributes:&lt;br /&gt;&lt;br /&gt;1) Custom attributes can only have basic data type. Custom data types like Document and Image are not supported yet. &lt;br /&gt;2) Content Types can not be specified easily through custom attributes.&lt;br /&gt;&lt;br /&gt;For example, there are two content types:&lt;br /&gt;GAME - metadata: name, description, thumbnail, mini_game, keywords, etc. &lt;br /&gt;VIDEO - metadata: name, description, title, thumbnail, large_thumbnail, medium_thumbnail, small_thumbnail, preview_video, etc.  &lt;br /&gt;&lt;br /&gt;How to implement above custom content types in Document Library plus Custom Attributes?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Jonas Yuan&lt;br /&gt;&lt;br /&gt;-----------------&lt;br /&gt;Liferay Books&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development"&gt;Liferay Portal 5.2 Systems Development&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.packtpub.com/building-liferay-portal-enterprise-intranets/book"&gt;Liferay Portal Enterprise Intranets&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://liferay.cignex.com/palm_tree/book/custom-attributes-5.3.png" /&gt;</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2009-08-06T16:50:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3738908" />
    <author>
      <name>Amine Bousta</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3738908</id>
    <updated>2009-08-06T10:32:12Z</updated>
    <published>2009-08-06T10:32:12Z</published>
    <summary type="html">I&amp;#39;m thinking about the design of such a UI for managing Expando tables and rows with Excel import/export capabilities.&lt;br /&gt;&lt;br /&gt;I thought that the Expando service layer was suitable for storing user tables like that. &lt;br /&gt;Moreover it can give the ability to extends existing Liferay entities.&lt;br /&gt;&lt;br /&gt;But then I realized that localization aspect is missing in Expando.&lt;br /&gt;So I tried to design a patch to Expando that would be able to consider multi-languages aspects.&lt;br /&gt;Then a graphical ui that could define columns (name, type, order...).&lt;br /&gt;&lt;br /&gt;And eventually I found that I was much too close to Web structures management in Liferay.&lt;br /&gt;I surely don&amp;#39;t want to code something that already exists.&lt;br /&gt;&lt;br /&gt;If we put the Web Structure concept in a higher level, I think we would be close to a system that could manage expando, web structures, generic lists manager, custom attributes, and Library documents meta, altogether. &lt;br /&gt;&lt;br /&gt;Advantages : &lt;br /&gt;- We already have a good UI for designing web structures (ie for designing entities)&lt;br /&gt;- An XML format that can be re-used for designing entities in general, not only for web contents but for docs as well and so on&lt;br /&gt;- A rich editor&lt;br /&gt;- Inheritance&lt;br /&gt;- Localization capabilities (excepting for fields names but we could use messages)&lt;br /&gt;- We can export/import this structure in LAR&lt;br /&gt;- it&amp;#39;s indexable&lt;br /&gt;- It&amp;#39;s been tested for a long time&lt;br /&gt;- ...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What&amp;#39;s missing? : &lt;br /&gt;- Web Structure should be called &amp;#34;Entity Structure&amp;#34;&lt;br /&gt;- Few Expando types should be added into the web structure types list&lt;br /&gt;- A &amp;#34;classNameId&amp;#34; column should be added in EntityStructure table like in ExpandoTable&lt;br /&gt;- The web structure UI should be moved into an &amp;#34;Entity Design&amp;#34; new link in the control panel and it should give the capability to choose a classNameId in a select list. (Web content, document, user, none...)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So that  :&lt;br /&gt;- A Web Structure would be just an &amp;#34;Entity Structure&amp;#34; that would have a classNameId = JournalArticle&lt;br /&gt;- Custom attributes would be just an &amp;#34;Entity Structure&amp;#34; that would have a classNameId = User&lt;br /&gt;- User Entities (for displaying generic tables with Excel export/import and pagination) would be &amp;#34;Entity Structure&amp;#34; that would have a classNameId to null&lt;br /&gt;- An Alfresco-like aspect would be an &amp;#34;Entity Structure&amp;#34; that would have multiple values in &amp;#34;classNameId&amp;#34;&lt;br /&gt;- ...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do you think I should keep going further with this design? Or side effects of placing web structure in a higher level would be much too huge?</summary>
    <dc:creator>Amine Bousta</dc:creator>
    <dc:date>2009-08-06T10:32:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3676222" />
    <author>
      <name>Amine Bousta</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3676222</id>
    <updated>2009-07-29T11:03:58Z</updated>
    <published>2009-07-29T11:03:58Z</published>
    <summary type="html">Hello Jorge&lt;br /&gt;&lt;br /&gt;I have the knowledge but I&amp;#39;m very busy right now. I&amp;#39;ll give you a prototype as soon as I can.&lt;br /&gt;&lt;br /&gt;I was thinking about two portlets in the EXT environment.&lt;br /&gt;&lt;br /&gt;- The first portlet would be an Expando Entity Designer. In a way I think it&amp;#39;s going to be close to the ui for designing a web structure.&lt;br /&gt;&lt;br /&gt;- The second portlet would be an Expando Entity Display. With the layout tag support we could paginate it and offer sorting functionnalities. With some higher permissions we would give a nice CRUD to fill in data thanks to jQuery. &lt;br /&gt;And in edit mode we could select the entity to deal with and hide or make visible the &amp;#34;export into excel&amp;#34; icon or design the search engine in a &amp;#34;display settings&amp;#34; section.&lt;br /&gt;&lt;br /&gt;I have a question about custom attributes and expando : &lt;br /&gt;Entities have typed attributes composed by a key and a value. &lt;br /&gt;Is there a way to store multi-lingual key names and multi-lingual values ?</summary>
    <dc:creator>Amine Bousta</dc:creator>
    <dc:date>2009-07-29T11:03:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3670669" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3670669</id>
    <updated>2009-07-28T20:49:04Z</updated>
    <published>2009-07-28T20:49:04Z</published>
    <summary type="html">@Jonas We are working on it. Keep a look at the commits in the next few days&lt;br /&gt;&lt;br /&gt;@Amine The idea for a custom portlet to store data based on expandos sounds great. Do you have the time and knowledge to do a quick prototype?</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2009-07-28T20:49:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3668843" />
    <author>
      <name>Amine Bousta</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3668843</id>
    <updated>2009-07-28T17:07:50Z</updated>
    <published>2009-07-28T17:07:50Z</published>
    <summary type="html">Hello&lt;br /&gt;That&amp;#39;s a great feature. Few thoughts:&lt;br /&gt;&lt;br /&gt;Custom attributes UI that is available for users should be available as well for layout, documents, images and articles.&lt;br /&gt;&lt;br /&gt;An advanced option of the search portlet could offer a select box in order to search contents by custom attributes.&lt;br /&gt;&lt;br /&gt;A generic Expando portlet could offer a way to create an entity on the fly with custom attributes.&lt;br /&gt;Administrators would design entities, columns, types...&lt;br /&gt;Contributors would fill in tables with data (with an excel import functionnality mapped with expando columns)&lt;br /&gt;And guests would see a table displayed on their web site with data (pagination, search engine, sorting with display tag) and could export in Excel&lt;br /&gt;That would match a generic data list management need without much efforts thanks to the expdando system.&lt;br /&gt;&lt;br /&gt;If we complete this portlet by adding an option &amp;#34;extends a Liferay entity&amp;#34; when you create a new entity that would let people create multiple extensions of a page, a user, a web article...&lt;br /&gt;&lt;br /&gt;Everything seems to be in place in the service layer and we just need to work on UIs actually don&amp;#39;t you think?</summary>
    <dc:creator>Amine Bousta</dc:creator>
    <dc:date>2009-07-28T17:07:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3645244" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3645244</id>
    <updated>2009-07-24T13:30:42Z</updated>
    <published>2009-07-24T13:30:42Z</published>
    <summary type="html">Hi Jorge, &lt;br /&gt;&lt;br /&gt;It would be nice to know your plan on implementation of this feature. Please let me know what I can contribute on this feature.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Jonas Yuan&lt;br /&gt;&lt;br /&gt;-----------------&lt;br /&gt;Liferay Books&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development"&gt;Liferay Portal 5.2/5.3 Systems Development&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.packtpub.com/building-liferay-portal-enterprise-intranets/book"&gt;Liferay Portal 4.4/5.0 Enterprise Intranets&lt;/a&gt;</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2009-07-24T13:30:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3617319" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3617319</id>
    <updated>2009-07-21T15:16:08Z</updated>
    <published>2009-07-21T15:16:08Z</published>
    <summary type="html">Hi Jorge,&lt;br /&gt;&lt;br /&gt;Thank you so much. It would be very nice to know your detailed plan on this. &lt;br /&gt;&lt;br /&gt;The specific tables are used for metadata of Images and Documents. I think that these specific tables should have following capabilities:&lt;br /&gt;&lt;br /&gt;1) association to any objects, including Images and Documents - for long term usage;&lt;br /&gt;2) dynamic types (basic types) generation, like the custom attributes (Expando tables);&lt;br /&gt;3) custom types generation, like DLFileEntry, IGImage, JournalArticle, etc - object reference and association.&lt;br /&gt;4) handling persistent &amp;#34;lock / unlock&amp;#34; functions;&lt;br /&gt;5) handling workflow (jBPM) status;&lt;br /&gt;&lt;br /&gt;Any thing else? &lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Jonas Yuan&lt;br /&gt;&lt;br /&gt;-----------------&lt;br /&gt;Liferay Books&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development"&gt;Liferay Portal 5.2/5.3 Systems Development&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.packtpub.com/building-liferay-portal-enterprise-intranets/book"&gt;Liferay Portal 4.4/5.0 Enterprise Intranets&lt;/a&gt;</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2009-07-21T15:16:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3608941" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3608941</id>
    <updated>2009-07-20T17:03:52Z</updated>
    <published>2009-07-20T17:03:52Z</published>
    <summary type="html">Hi Jonas,&lt;br /&gt;&lt;br /&gt;I like the idea of allowing linking contents, but I would prefer to create specific tables for that and do it at the asset level. Using specific tables and services would allow for more specialized code to work with the relationships.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m thinking of this feature for the version after 5.3. Suggestions and contributions are welcome.</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2009-07-20T17:03:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3608568" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3608568</id>
    <updated>2009-07-20T16:32:11Z</updated>
    <published>2009-07-20T16:32:11Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Ray, &lt;br&gt;&lt;br&gt;It is really nice feature - Custom Attributes. Thank you, Ray. &lt;br&gt;&lt;br&gt;It was noticed that only basic types (Booleans, String, etc) are supported in custom attributes like:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;public class ExpandoColumnConstants {
	public static final int BOOLEAN = 1;
	public static final int BOOLEAN_ARRAY = 2;
	public static final String BOOLEAN_ARRAY_LABEL = "boolean[]";
	public static final String BOOLEAN_LABEL = "boolean";
	public static final int DATE = 3;
	public static final int DATE_ARRAY = 4;
...
       public static final int STRING = 15;
	public static final int STRING_ARRAY = 16;
	public static final String STRING_ARRAY_LABEL = "java.lang.String[]";
	public static final String STRING_LABEL = "java.lang.String";
&lt;/code&gt;&lt;/pre&gt;  &lt;br&gt;&lt;br&gt;Is it good to support Liferay default types like DLFileEntry, IGImage, JournalArticle? Hope that it CAN.&lt;br&gt;&lt;br&gt;Why do we need these types? &lt;br&gt;&lt;br&gt;Use custom attributes to represent references (associations) of documents, images and JournalArticle;&lt;br&gt;Use custom attributes to build dynamic content model;&lt;br&gt;and more ...&lt;br&gt;&lt;br&gt;Make sense?&lt;br&gt;&lt;br&gt;Jonas Yuan&lt;br&gt;&lt;br&gt;-----------------&lt;br&gt;Liferay Books&lt;br&gt;&lt;br&gt;&lt;a href="http://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development"&gt;Liferay Portal 5.2/5.3 Systems Development&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.packtpub.com/building-liferay-portal-enterprise-intranets/book"&gt;Liferay Portal 4.4/5.0 Enterprise Intranets&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2009-07-20T16:32:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOT</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1554487" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1554487</id>
    <updated>2008-11-07T20:10:59Z</updated>
    <published>2008-11-07T20:10:59Z</published>
    <summary type="html">Hi Yanke,&lt;br /&gt;&lt;br /&gt;You can have access to this feature by checking out the code from trunk. It&amp;#39;ll also be included in the next release (5.2), although it doesn&amp;#39;t have a date yet.</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2008-11-07T20:10:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOT</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1542679" />
    <author>
      <name>Yinka Oluwasanmi</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1542679</id>
    <updated>2008-11-05T15:54:38Z</updated>
    <published>2008-11-05T15:54:38Z</published>
    <summary type="html">Hello,&lt;br /&gt;&lt;br /&gt;Has this feature &amp;#34;custom attributes&amp;#34; been released?&lt;br /&gt;&lt;br /&gt;If it has, how can i access it, if not when is it likely to be released. &lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;&lt;br /&gt;Yinka</summary>
    <dc:creator>Yinka Oluwasanmi</dc:creator>
    <dc:date>2008-11-05T15:54:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1399074" />
    <author>
      <name>Edward Shin</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1399074</id>
    <updated>2008-10-08T15:55:10Z</updated>
    <published>2008-10-08T15:55:10Z</published>
    <summary type="html">Makes sense. I assumed that we were going to include it as another tab. Thanks Jorge.</summary>
    <dc:creator>Edward Shin</dc:creator>
    <dc:date>2008-10-08T15:55:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Attributes - Where to apply them OOTB</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1399027" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1399027</id>
    <updated>2008-10-08T15:46:27Z</updated>
    <published>2008-10-08T15:46:27Z</published>
    <summary type="html">Hi Ed,&lt;br /&gt;&lt;br /&gt;The access to managing custom attributes will be in the toolbar of the user management portlet. For cases like this I think we should be careful to keep the links out of the portlet box (which is managed by the portal).&lt;br /&gt;&lt;br /&gt;I think it&amp;#39;s important to keep out of the portlet window anything that&amp;#39;s not related to that specific portlet window. Note that preferences and configuration are specific to the window, not the the Journal portlet (or any other portlet) in general. &lt;br /&gt;&lt;br /&gt;Anything that is related to the &amp;#34;contents&amp;#34; of the portlet should be handled by the portlet itself and not by the portal in any way. That keeps the proper separation of concerns which ends up helping usability and also provides more flexibility to the developers.</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2008-10-08T15:46:27Z</dc:date>
  </entry>
</feed>
