I have made a custom Alfresco Share page. Now, I would like to display a file picker, which allows me to browse the repository for files. This would be similar to the Adhoc workflow, where you can browse for files, which will be added to the workflow. Any hints on how to show such a filepicker will be appreciated.
File picker shown on any page is a form control, to render that on normal page will require cutomization.
Other option is you can check "_copyMoveTo" function in actions.js file which is used to open copyTo, moveTo dialog in documentlibrary and you can extend that according to your requirement.
Thank you for your input. I played around with global-folder.js and was able to change it so that both files and folders are shown. However, I did not find any easy way to show the correct icon for files. Instead, for all items, the folder icon is shown. It seems the icon is handled by the "TextNode" function, which is defined in "yui-common.js". I did not see any simple way to influence the icon defined in that function. Do you know of any easy way to display the correct icon for files?