<?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 Annotation to load combobox items from a external file datasource in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/annotation-to-load-combobox-items-from-a-external-file/m-p/204532#M157662</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;I build a new annotation which make possible to load combobox property items from a datasource (at this moment only filebased is support, but it's easy to provide new ways). With annotation it's now possible to load values on the combobox wich depends of some external sources. Here is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@Property(type = PropertyType.COMBOBOX_CHOICE, displayName = "Destination Device", required = true)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;@Help(displayHelpShort = "Destination Device", displayHelpLong = "The name of the destination device to transfer the file.")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;@PropertyItems({ "OLD 1", "OLD 2" })&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;@PropertyItemsDataSource(filename="D:/valueList.txt")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;private String destinationDevice;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any interest in include this in the designer source code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put two patchs in my dropbox account with the changes I made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/s/ioetbuybnm6abxp/0001-Annotation-to-load-combobox-items-from-a-external-fi.patch?dl=0" rel="nofollow noopener noreferrer"&gt;https://www.dropbox.com/s/ioetbuybnm6abxp/0001-Annotation-to-load-combobox-items-from-a-external-fi.patch?dl=0&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/s/282j3tnng7uysws/0002-Annotation-to-load-combobox-items-from-a-external-fi.patch?dl=0" rel="nofollow noopener noreferrer"&gt;https://www.dropbox.com/s/282j3tnng7uysws/0002-Annotation-to-load-combobox-items-from-a-external-fi.patch?dl=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;André Macedo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Aug 2014 00:29:52 GMT</pubDate>
    <dc:creator>cortelos</dc:creator>
    <dc:date>2014-08-30T00:29:52Z</dc:date>
    <item>
      <title>Annotation to load combobox items from a external file datasource</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/annotation-to-load-combobox-items-from-a-external-file/m-p/204532#M157662</link>
      <description>Hi,I build a new annotation which make possible to load combobox property items from a datasource (at this moment only filebased is support, but it's easy to provide new ways). With annotation it's now possible to load values on the combobox wich depends of some external sources. Here is an example:</description>
      <pubDate>Sat, 30 Aug 2014 00:29:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/annotation-to-load-combobox-items-from-a-external-file/m-p/204532#M157662</guid>
      <dc:creator>cortelos</dc:creator>
      <dc:date>2014-08-30T00:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Annotation to load combobox items from a external file datasource</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/annotation-to-load-combobox-items-from-a-external-file/m-p/204533#M157663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Patches are easiest to discuss using pull requests on &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti-Designer" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti-Designer&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 18:32:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/annotation-to-load-combobox-items-from-a-external-file/m-p/204533#M157663</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-30T18:32:29Z</dc:date>
    </item>
  </channel>
</rss>

