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
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
MS_SPS_ME
Hi, Develop your code considering the task list as a SPList (Adding an Item) Best Regards,
L. YOUSFI Microsoft Services France
"Sempronio" wrote:
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
Hi,
Develop your code considering the task list as a SPList (Adding an Item)
Best Regards,
L. YOUSFI
Microsoft Services
France
"Sempronio" wrote:
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
Hi, Develop your code considering the task list as a SPList (Adding an Item) Best Regards,
L. YOUSFI Microsoft Services France
"Sempronio" wrote:
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