DND Upload at workflow form
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2014 08:58 AM
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."
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."
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2014 05:18 AM
Please help, anyone…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2014 06:26 AM
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.
Hope this helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2014 07:34 AM
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.
