AnsweredAssumed Answered

File Picker

Question asked by lpgc on May 21, 2013

I would like to be able to use share file picker to select multiple files (at the same time or one by one) but i just need the file name. Basically i need a "csv" list of file names; for example: file1,file2,file3 ….

I managed to show the file picker, but i havent been able to find information on how it works. This is how i do so:

* share-config-custom.xml

<config evaluator="aspect" condition="intra:files">
    <field id="intra:file_name">
     <control template="/org/alfresco/components/form/controls/test.ftl">

* test.ftl

<script type="text/javascript">//<![CDATA[
   <@renderPickerJS field "picker" />

To put everything together: i hit change properties of a document in share, i hit the file picker, i select several files and the field "intra:file_name" will contain a coma separated list of the file names i selected.

Any help will be appreciated, pointing to a example, documentation, … anything :-)

Thanks in advance.