Custom Worklist (ColumnInformation Class)

  • 24 April 2014
  • 2 replies
  • 5 views

Badge +2

Hello Bros,

i want to customize "http://community.k2.com/t5/General-K2-Utilities/K2-Worklist-Web-Part/ba-p/907" and add to table column "Originator" which contains creator name of process. It's posible to do this?

 

i have this code in my sharepoint site:

var columns = new List<SourceCode.Workflow.CustomTaskList.Tables.Columns.ColumnInformation>();
columns.Add(new SourceCode.Workflow.CustomTaskList.Tables.Columns.SelectionColumn("Checkbox", ""));
columns.Add(new SourceCode.Workflow.CustomTaskList.Tables.Columns.ColumnInformation("ProcessInstance.Folio", "Signatrue", true, "ProcessFolio"));
columns.Add(new SourceCode.Workflow.CustomTaskList.Tables.Columns.ColumnInformation("ActivityInstance.StartDate", "Assignment date", true, "ActivityStartDate"));
columns.Add(new SourceCode.Workflow.CustomTaskList.Tables.Columns.ColumnInformation("ActivityInstance.Description", "Activity", true, "ActivityDescription"));

AND i want to add this

columns.Add(new SourceCode.Workflow.CustomTaskList.Tables.Columns.ColumnInformation("ProcessInstance.Originator", "Creator", true, "Originator"));
taskList.ColumnInformation = Helper.Serialize(columns, typeof(SourceCode.Workflow.CustomTaskList.Tables.Columns.SelectionColumn));


2 replies

Badge +6

Hi, 


 


Have you had a look at the following Custom Worklist Service Broker to achieve this?


http://community.k2.com/t5/K2-blackpearl/Worklist-Service-Broker/ba-p/889 


 


Regards,

Badge +7

Hi'


 


I would just like to find out if  you have managed to create the custom worklist? Was the link provided in the previous response able to help you? Please update us on the progress you've made so far and should you require additional information please feel free to ask.


 


Kind regards


Nelly

Reply