<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom content property : how to add pick list. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228278#M181408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that I'm managed to create my own node model, I need to further my customization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I need to add &lt;/SPAN&gt;&lt;EM&gt;custom property&lt;/EM&gt;&lt;SPAN&gt; to my model as the following :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- it is a &lt;/SPAN&gt;&lt;EM&gt;pick list&lt;/EM&gt;&lt;SPAN&gt;. i.e. the user is limited to selection provided. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Perhaps later, the web client will show it as combo box in the property sheet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The values are drawn from list of current space users (i.e. the destination space of the incoming content). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hint on how to do that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2009 09:43:56 GMT</pubDate>
    <dc:creator>bluearth</dc:creator>
    <dc:date>2009-11-03T09:43:56Z</dc:date>
    <item>
      <title>Custom content property : how to add pick list.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228278#M181408</link>
      <description>Hi all,Now that I'm managed to create my own node model, I need to further my customization.Now I need to add custom property to my model as the following :- it is a pick list. i.e. the user is limited to selection provided. &amp;nbsp; Perhaps later, the web client will show it as combo box in the property s</description>
      <pubDate>Tue, 03 Nov 2009 09:43:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228278#M181408</guid>
      <dc:creator>bluearth</dc:creator>
      <dc:date>2009-11-03T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom content property : how to add pick list.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228279#M181409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you have two main possibilities to do that :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- define a custom constraint on your property :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Constraints" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Constraints&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- or define a custom component-generator for your property&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Component_Generator_Framework" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Component_Generator_Framework&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(if you write a custom component-generator, try to get inspired by the TextFieldGenerator, when a "MULTI" constraint exists&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Besides, when you get the idea but feel lost on how to implement the solution, browse these forums about your idea (i.e "custom list constraints" or "component generator"), and you'll get some hints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also have a look at &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-content/content-article.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-content/content-article.pdf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.alfresco.com/wp/jbarmash/2008/08/08/dynamic-data-driven-drop-downs-for-list-properties/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/jbarmash/2008/08/08/dynamic-data-driven-drop-downs-for-list-properties/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 11:21:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228279#M181409</guid>
      <dc:creator>jayjayecl</dc:creator>
      <dc:date>2009-11-03T11:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom content property : how to add pick list.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228280#M181410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see that alfresco already has property editor like the one I need (as show on image). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The question now is how to modify my model definition and the web client config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://img.photobucket.com/albums/v722/barkah/snapshot_usersel-1.png" rel="nofollow noopener noreferrer"&gt;http://img.photobucket.com/albums/v722/barkah/snapshot_usersel-1.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 11:45:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-content-property-how-to-add-pick-list/m-p/228280#M181410</guid>
      <dc:creator>bluearth</dc:creator>
      <dc:date>2009-11-03T11:45:10Z</dc:date>
    </item>
  </channel>
</rss>

