Try Now
More in this section

Forums / Designing with Sitefinity / Generic Content Hierarchy

Generic Content Hierarchy

2 posts, 0 answered
  1. Scott McNeany
    Scott McNeany avatar
    44 posts
    09 Mar 2010
    09 Jul 2010
    Link to this post
    Is there an easy way to include one piece of generic content inside another? I have a problem where I have two external sites that get data from my SF database and filter by 'Category' for performance. This works well in almost all cases. However, I just ran into a scenario where the sites truly need to use the same set of about 30 different items.

    I have two solutions, one I know will work. The other I was just going to bounce off you guys to see if there was a way to do it.

    1. (I know this will work) Create a third category called 'Shared' and pull all site-specific and 'Shared' content for all sites.

    2. Create the ability to include one piece of generic content inside another so that i have a content item in 'CategoryA' and a content item in 'CategoryB' that are just pointers to the real content. That way, if they ever need to be separate, I don't have to modify the calling application.

    Will option 2 work?


    Scott McNeany    
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    12 Jul 2010
    Link to this post
    Hello Scott McNeany,

    Each content item belongs only to a single category. The content of an IContent is just text/HTML. There is no hierarchical structure in GenericContent, Events, News. You could create a separate metakey that will act as a category.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered