cancel
Showing results for 
Search instead for 
Did you mean: 

DND Upload at workflow form

sihnu
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to add dnd-upload to workflow forms. I've managed to add upload to workflow start from by adding upload components to start-workflow.xml and start-workflow.ftl files. The problem comes when I try to add the same feature to task forms. I added upload components to task-edit.xml file but I can't find a corresponding ftl-file (task-edit.ftl). So where should I define region for dnd-upload (<@region id="dnd-upload" scope="template"/>)? I've tried multiple places like task-edit-header.get.html.ftl but the elements will be enpty with clasess "unbound region". So I think I've added them to a wrong ftl-file. I'm not sure if the logic goes the same way in task from but this was quite easy with workflow start. Now I'm stuck when trying to implement the same feature to task form. Please help, I think it's not very far away but I've already tried to come up with an idea for whole day and nothing seems to work. Please help. Btw, the error message at browser console is "Uncaught Error: No instance of uploader type 'Alfresco.DNDUpload' exists."
3 REPLIES 3

sihnu
Champ in-the-making
Champ in-the-making
Please help, anyone…

aaditvmajmudar
Confirmed Champ
Confirmed Champ
As far as I know, you will have to make entry in workflow-details page files, workflow-details.xml and workflow-details.ftl.

Hope this helps.

sihnu
Champ in-the-making
Champ in-the-making
Hey, you are right. That solves problem. I was able to figure it out by myself after countless of trials and errors. Thanks a lot for helping though, I appreciate it a lot. In case someone is having the same issue you can solve it the way AaditVMajmudar suggested.