Hi all,
I'm developing a workflow webpart/add-in for SharePoint, and need to programmatically create/assign tasks with a specific title/description to specific users/groups. I didn't find any info to do it from code (.NET, either C# or VB.NET is ok). Do you have any info? The only place where I found the data of the sample tasks I created (from the browser) for a user is the UserData table in the SP's SQL Server database...but I don't like the idea to write directly to the DB, as I don't know the structure of that table, and what I'm supposed to write, exactly. Isn't there any object model that allows to create/assign tasks more easily, and in a safer way?
Thank you for your help,
- sempronio
I'm developing a workflow webpart/add-in for SharePoint, and need to programmatically create/assign tasks with a specific title/description to specific users/groups. I didn't find any info to do it from code (.NET, either C# or VB.NET is ok). Do you have any info? The only place where I found the data of the sample tasks I created (from the browser) for a user is the UserData table in the SP's SQL Server database...but I don't like the idea to write directly to the DB, as I don't know the structure of that table, and what I'm supposed to write, exactly. Isn't there any object model that allows to create/assign tasks more easily, and in a safer way?
Thank you for your help,
- sempronio