Manually create hierarchical module

Posted by Community Admin on 04-Aug-2018 01:48

Manually create hierarchical module

All Replies

Posted by Community Admin on 27-Feb-2013 00:00

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.

This thread is closed