<?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 Re: How to populate attribute picklist with data from a database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147988#M103307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color:blue;"&gt;Hi Roman,&lt;BR /&gt;&lt;BR /&gt;Thank you for pointing me to the constraints wiki page. However this&lt;BR /&gt;does not describe how to populate properties via automatically via an external external reference (database field). The constraints referenced in&lt;BR /&gt;the examples are a manually filled xml-file with constraints.&lt;BR /&gt;&lt;BR /&gt;In other words (not using the terms). I got a Newdocument type with&lt;BR /&gt;a custom property Customername. I don't want this to point to a restrictive&lt;BR /&gt;xml contraint list. This property needs to be populated with the values of a&lt;BR /&gt;database field/column Customer from our customer relations database for example (i.e. Oracle). How can this be automated? Is this a setting/option&lt;BR /&gt;for properties? or for constraints?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2007 15:52:43 GMT</pubDate>
    <dc:creator>alexr</dc:creator>
    <dc:date>2007-11-28T15:52:43Z</dc:date>
    <item>
      <title>How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147986#M103305</link>
      <description>I managed to create a custom doctype with custom attributes/contstraints.However each attribute picklist is a "fixed" list entered manually.Are there any services or common ways to populate the attributes picklists from an external database (business data).For example. Suppose in the company we have</description>
      <pubDate>Sun, 25 Nov 2007 19:11:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147986#M103305</guid>
      <dc:creator>alexr</dc:creator>
      <dc:date>2007-11-25T19:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147987#M103306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if i can help you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to alfresco too…but i had the same requirements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out this:&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;BR /&gt;&lt;SPAN&gt;hope this helps…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 13:29:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147987#M103306</guid>
      <dc:creator>roman</dc:creator>
      <dc:date>2007-11-27T13:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147988#M103307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color:blue;"&gt;Hi Roman,&lt;BR /&gt;&lt;BR /&gt;Thank you for pointing me to the constraints wiki page. However this&lt;BR /&gt;does not describe how to populate properties via automatically via an external external reference (database field). The constraints referenced in&lt;BR /&gt;the examples are a manually filled xml-file with constraints.&lt;BR /&gt;&lt;BR /&gt;In other words (not using the terms). I got a Newdocument type with&lt;BR /&gt;a custom property Customername. I don't want this to point to a restrictive&lt;BR /&gt;xml contraint list. This property needs to be populated with the values of a&lt;BR /&gt;database field/column Customer from our customer relations database for example (i.e. Oracle). How can this be automated? Is this a setting/option&lt;BR /&gt;for properties? or for constraints?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 15:52:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147988#M103307</guid>
      <dc:creator>alexr</dc:creator>
      <dc:date>2007-11-28T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147989#M103308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know exactly what you mean, but you don't have to fill the values over the xml file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can write your own constraint class which fills the values from database, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Constraints#Writing_Further_Constraints" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Constraints#Writing_Further_Constraints&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you define a constraint with the type of your own constraint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in this class you can override the setAllowedValues function and populate your own values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working at nearly the same problem at the moment. i can populate a combobox with my own values but i want to have more information in the select-option tag (especially the value attribute should get my defined value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so in this case you got to write own component generator and perhaps an own jsf component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm at it at the moment, don't know if i'm right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so hopes this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 16:17:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147989#M103308</guid>
      <dc:creator>roman</dc:creator>
      <dc:date>2007-11-30T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147990#M103309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Roman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds logical. Could you let me know when you have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;some code that works and send me an example. It would&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;really help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2007 14:10:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147990#M103309</guid>
      <dc:creator>alexr</dc:creator>
      <dc:date>2007-12-01T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147991#M103310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also need to populate a combobox with value from a database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you send me an exmple to understand:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how modify the custom property to have a combobox;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how the combobox can get values froma database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is may e-mail address:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:marcostopper@libero.it" rel="nofollow noopener noreferrer"&gt;marcostopper@libero.it&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:43:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147991#M103310</guid>
      <dc:creator>marcostopper</dc:creator>
      <dc:date>2008-06-23T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate attribute picklist with data from a database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147992#M103311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys!, I guess I get a little outdated, but to complete this post, for those arriving now, I would like to mention that there is a component in Alfresco Addons that does this and more in a simple, intuitive and powerful way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://addons.alfresco.com/addons/alfresco-metadbconnector-component" rel="nofollow noopener noreferrer"&gt;https://addons.alfresco.com/addons/alfresco-metadbconnector-component&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps the community.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 17:30:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-populate-attribute-picklist-with-data-from-a-database/m-p/147992#M103311</guid>
      <dc:creator>venzia</dc:creator>
      <dc:date>2012-05-07T17:30:49Z</dc:date>
    </item>
  </channel>
</rss>

