I have to create a "upload document" button in one of my custom workflows. The button will enable the user to add a document to alfresco repository from his pc/local system. Currently there is a add item button but it allows you to add only those documents which are already present in the repository. Is anybody having any clue on how to achieve this. i am using enterprise 4.0.
in order to upload documents you need to include the file uploader components found in the documentlibrary pages / templates. These include the upload dialog and the necessary flash component. You might need to adapt the Surf template for the task-edit page to include the regions for those components. You would also need to implement your own form control FTL and accompanying client JS which initializes and configures the uploader.
Thanks even i was looking for the same But i am a newbie and request your guidance to give me some details on how to carry out these changes. Thanks in advance!!!