More in this section

Forums / Developing with Sitefinity / Manually create hierarchical module

Manually create hierarchical module

1 posts, 0 answered
  1. Denis
    Denis avatar
    105 posts
    Registered:
    27 Feb 2009
    27 Feb 2013
    Link to this post

    Lets consider Products sample from SDK. For example all Products need to be organized by different Locations. Location would be a parent type and Product a child. As far as I understand, second type needs to be added to module project and and certain interfaces need to be applied to the both content types (regarding this post).

    I'm not sure where to start. I never created modules with two content types. Could someone let me know what classes need to be added to Products module in order to get Locations content type. Also, what additional configuration and installation steps are necessary? The best, if you have sample module project that would show how to handle two content types registration from a single module!

    PS: my plan so far to add the following classes for second content type: DataProvider, Model, ViewModel, BackendService, UI Definitions.

    Thanks, Denis.

1 posts, 0 answered