Form Controls in Module Package

Suneel Jhangiani asked on February 1, 2017 14:23

I have followed the Kentico instructions for creating a Module Package and for the most part this is working fine, although I have an issue with including Form Controls in the package.

At present the form controls get included in the Installation Package as they are in '/CMSFormControls/{ModuleCodeName}/' and the installation package does copy these files accordingly. However, the definition for the Form Control objects is not being exported and hence they do not appear in the database (tried with Kentico 10 Hotfix 7).

Recent Answers


Trevor Fayas answered on February 1, 2017 15:19 (last edited on February 1, 2017 22:06)

Removing mine, it was wrong.

0 votesVote for this answer Mark as a Correct answer

Suneel Jhangiani answered on February 1, 2017 15:36

The documentation actually states the followingjust above the note:

 By following naming conventions , you can also create objects of the following types that the system includes in the module's installation packages:

    Web parts
    Web part categories
    Form controls

Needless to say I'll add a request on UserVoice as I think that this will be required as more people look to develop additional modules.

0 votesVote for this answer Mark as a Correct answer

Suneel Jhangiani answered on February 1, 2017 15:43

0 votesVote for this answer Mark as a Correct answer

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