cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable actions on 'My Tasks' ?

toolen
Champ in-the-making
Champ in-the-making
3 REPLIES 3

jpfi
Champ in-the-making
Champ in-the-making
hi,
my task dashlet, my task page or both?
which alfresco version?
Which actions should be disabled?
Disabled for everyone?
cheers, jan

jpfi
Champ in-the-making
Champ in-the-making
sry, I didn't  notice the screenshot…

toolen
Champ in-the-making
Champ in-the-making
It's ok, I solve it through changes in task-list.js and task-list-min.js . Thank you )

      renderCellActions: function TL_renderCellActions(elCell, oRecord, oColumn, oData)
      {
         /*
         // Create actions using WorkflowAction
         if (oRecord.getData('isEditable'))
         {
            this.createAction(elCell, this.msg("link.editTask"), "task-edit-link", $siteURL('task-edit?taskId=' + oRecord.getData('id') + '&referrer=tasks&myTasksLinkBack=true'));
         }
         this.createAction(elCell, this.msg("link.viewTask"), "task-view-link", $siteURL('task-details?taskId=' + oRecord.getData('id') + '&referrer=tasks&myTasksLinkBack=true'));
         this.createAction(elCell, this.msg("link.viewWorkflow"), "workflow-view-link", $siteURL('workflow-details?workflowId=' + oRecord.getData('workflowInstance').id + '&' + 'taskId=' + oRecord.getData('id') + '&referrer=tasks&myTasksLinkBack=true'));
         */
      }