More in this section

Forums / Developing with Sitefinity / Custom Module with Complex Modle

Custom Module with Complex Modle

1 posts, 0 answered
  1. Micah
    Micah avatar
    3 posts
    19 Jun 2012
    15 Jul 2012
    Link to this post
    Typo: Custom Module with Complex Module

    Hey everyone, I have a (semi) noob question here - Is it possible to manage multiple Modules from one custom module? A module I'm building has a Class that extends Content, ILocatable and a few other classes that extend IDataItem.  I have the Fluent definitions for the relationships and the Provide/Manager setup with CRUD methods for each of the types.  I haven't gotten to a point to thoroughly test it yet, but I wanted to know if this would be a possibility and if there would be a recommended way to go about it. 

    Here's an idea of what the Model looks like:
    * Contest (Content Item)
        * Contest Entry (IDataItem)
            * Contest Entry Vote (IDataItem)
    * Contest Winner (IdataItem)

    Contest has the following as Children:
    * Contest Entry (1-to-many)
    * Contest Winner (1-to-many) (Multiple levels of "winning"

    The Contest entry has Contest Entry Votes as a child/property with a (1-to-many) relationship.

    Also I would like to utilize the "Action Menu" to view/modify the related items eg View Contest Entries.

    Any help would be most appreciated.

    -- Micah

1 posts, 0 answered