Add custom fields to Project Tasks

Luca Dell'Angelo asked on October 3, 2014 17:02

Hello, Can I add a custom field to project tasks?

I tried to add a column Col1 to the database table PM_ProjectTask and used ProjectTaskInfo.SetValue("Col1", "testvalue"), but it didn't work.

Any suggestions?

Recent Answers


Joshua Adams answered on October 3, 2014 18:47

You have to add it through the Kentico Interface, otherwise their api won't know about it.

1 votesVote for this answer Mark as a Correct answer

Luca Dell'Angelo answered on October 6, 2014 11:16

Unfortunately the table PM_ProjectTask is bound to the class PM.ProjectTask of the "Project management" module and that class is not editable because the module is installed. How can I edit it?

Anyway, I tried the following example about the customization of system's data classes: https://docs.kentico.com/pages/viewpage.action?pageId=7471613 but still I don't know how to add the new column in the databse by Interface or Kentico API and write values in that column.

0 votesVote for this answer Mark as a Correct answer

Luca Dell'Angelo answered on October 6, 2014 11:19

Anyway, I tried the following example about the customization of system's data classes:

https://docs.kentico.com/pages/viewpage.action?pageId=7471613

but still I don't know how to add the new column in the databse by Interface or Kentico API and insert values into that column.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.