Skip to main content
Hi,

I need to bind all the worklist items in grid (client page). Could u please help me that how can i retrieve and bind the grid by using worklist items or Is there any other way to do this?

Thanks,
Senthil
Are you saying that you want to display ALL the current user's worklist items on a Client page i.e. a web page that is part of another process instatance? Out of curiosity, why would you want to do this? It should already be displayed in the standard K2.net Workspace and if you need to, you can develop a custom Worklist but I have never seen a custom Worklist embedded within a Client page of another process instance - will cause a lot of unnecessary overhead.

Are you planning to use Smartforms or normal aspx web pages?

Regards,
Ockert
Hi,

I need to populate the multiple data in grid which are entered by the particular user group. So that manager can select multiple or single item and approve it. Am planning to use normal aspx form for this. Could you please suggest me reg this.

Thanks.
Ok, but then it has got nothing to do with a 'Client' page - it's just a custom worklist.

You'll have to add a reference to the K2ROM object model. Open a connection to the K2.net Server with the credentials of the logged on user (i.e. leave the connection string). You can obtain a list of Worklist items for the manager him/herself through a call to oK2Connection.OpenWorklist("ASP"). To get a list of Worklist items for the users 'managed' by the logged on user, make a call to oWorkList = oK2Connection.OpenWorklist("ASP", strUserName)

Please refer to the Help file for sample code - specifically, have a look at:
K2ROM.Connection.OpenWorklist method.

Regards,
Ockert
Hi,

Thanks for your guidance, I tried with the openworklist method but I need to bind multiple line items in to grid. Still am not able to bind the results to the grid. i don't know how to form the dataset to bind it. Can u pls help me reg this if possible.

Thanks.

Reply