Custom Fields for Activity Types

James Harrison asked on October 28, 2019 15:33

(for Kentico 11 EMS version, Portal Engine)

Can we add custom fields to an Activity Type? It looks like this can be done through the Activity module (Activity >> Classes >> Activity Type >> Fields). Our client would like to add additional description fields to their activity records

Can this safely be updated in the Activity module or will changes cause issues with other marketing modules/process?

Thanks for your help

Recent Answers


Dmitry Bastron answered on October 28, 2019 17:22

Hi James,

Activity class is not marked "customizable" in the Kentico interface so it's not recommended to customize it like this then. What you can do as a workaround is to write the required data in Activity Value in some structured way (i.e. json) and use in the code accordingly.

1 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on October 29, 2019 09:51

On top of what Dmitry wrote, you can extend the info objects like described in the documentation. You can either set the values in the code or use e.g. a custom module or custom table with desired fields if you want to have them in the admin UI and then use the code to read the values.

0 votesVote for this answer Mark as a Correct answer

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