AnsweredAssumed Answered

Populating selectmany.ftl from a data list or database

Question asked by csamgreene on May 9, 2012
Latest reply on Jun 5, 2012 by erikwinlof
I would like to populate a selectmany control with data from either an Alfresco data list or from a database.  Here is an XML stanza that currently uses a hard coded list. .

               <field id="lx:primary_company" label-id="prop.lx_primary_company">
                  <control template="/org/alfresco/components/form/controls/selectmany.ftl">
                     <control-param name="options">Company1,Company2,Company3</control-param>
                  </control>
               </field>

Can someone point me to documentation on how to do so. Or better yet some example code.

Thanks

Outcomes