1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Cutomise List rather than Generic Content provider

Cutomise List rather than Generic Content provider

7 posts, 3 answered
  1. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    22 Mar 2010
    Link to this post
    Hello all,

    Thanks for your help thus far.  (version 3.7 SP3) I currently need a custom list of content with about 10 items. I only need about 3 additional custom properties for each item. However, the site admin needs to be able to re order these items easily. I would think that extending the capability of the List module would be the most appropriate way to resolve this, but i dont see an easy way to plug additional meta fields into the List Control. 

    So my dilemma is this.. Will I be better off to bolt some reorder functionality onto a custom generic content provider with an ordinal property.. Or is there an established method to add additional fields to the list control?

    Thanks in advance for your help


    Relevant post I'm currently reading (any further resources are appreciated)

    Custom List Provider  (No custom meta fields or data driven properties, but most appropriate)
    http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/custom-list-provider.aspx

    Drag and Drop to reorder rows in radgrid (a bolt on fix that will require more backend work)
    http://www.telerik.com/community/code-library/aspnet-ajax/grid/drag-and-drop-to-reorder-rows-in-grid.aspx
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    22 Mar 2010
    Link to this post
    Hi Drew Greenwell,

    GenericContent based modules use dynamic metakeys which are not supported by the Lists Module. Therefore, the only way to persist a custom data using the Lists Module is to create a custom data layer. Hence, the better way to proceed would be to create a custom Generic Content based module or an additional provider for the Generic Content module.

    Regards,
    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.
    Answered
  3. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    22 Mar 2010
    Link to this post
    That's what i was afraid of.. From a professional agency's perspective,  I would definitely appreciate custom list data being added to version 4.0 or at least an easy way to reorder entries based on a meta property(maybe introduce a new MetaType called ordinal). Its features like 'easy reordering' that will help make users comfortable and when the rubber meets the road, will actually sell websites.  As always, thanks for the help Ivan, I guess I know how i'm spending my night :-)

    Drew
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    22 Mar 2010
    Link to this post
    Hello Drew Greenwell,

    The implementation in Sitefinity 4.0 will be completely different and all modules API is more flexible.

    Greetings,
    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.
    Answered
  5. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    22 Mar 2010
    Link to this post
    Excellent, Im sure it's been asked before, but will the modules we're writing for version 3.7SP3 translate well to Version 4 or are plans to sever back compatibility? Just trying to gauge the amount of effort I should be focusing on custom development.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    22 Mar 2010
    Link to this post
    Hi Drew Greenwell,

    There will be wrappers that which will be used to handle the old code.

    All the best,
    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.
    Answered
  7. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    22 Mar 2010
    Link to this post
    Good deal, A wrapper is better than nothing!  i appreciate the heads up Ivan.
    Thanks again
    Drew
Register for webinar
7 posts, 3 answered