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

Forums / Developing with Sitefinity / ContentItemList not filtered for provider

ContentItemList not filtered for provider

5 posts, 1 answered
  1. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    24 Mar 2010
    Link to this post
    Version 3.7 SP3 

    I have set up a separate generic content provider. Viewing contentitemslist.ascx should only display items that belong to the selected provider. This is not the case. I have tried this with the embedded template and with a mapped template. the data provider name client variable is toggling appropriately when a different provider is selected. however the list is not filtered being filtered by the selected provider. The list will display only items from the custom provider only when I try sorting aby a column that is unique to the provider.  This is show stopping at the moment and taking up entirely too much dev time. If i need to put in a support ticket to expedite this process then please let me know. This is one of 4 sites we have laid out, and I need to start focusing on site number 2..


    more info http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/generic-content-provider.aspx

    FIRST POST   (DATA FROM BOTH PROVIDERS SHOWING BUT SHOULDN'T BE)
    {"startRowIndex":0,"maximumRows":50,
    "sortExpression":"",
    "filterExpression":"","requiredMetaFields":["Name"
    ,"ImageUrl","JobTitle","Ordinal"],
    "currentCulture":"1033","provider":"People"}


    FIRST SORT  (ONLY CUSTOM PROVIDER DATA)
    {"startRowIndex":0,"maximumRows":50,
    "sortExpression":"JobTitle ASC",
    "filterExpression":"","requiredMetaFields"
    :["Name","ImageUrl","JobTitle","Ordinal"],
    "currentCulture":"1033","provider":"People"}


    SECOND SORT  (ONLY CUSTOM PROVIDER DATA)
    {"startRowIndex":0,"maximumRows":50,
    "sortExpression":"JobTitle DESC",
    "filterExpression":"","requiredMetaFields"
    :["Name","ImageUrl","JobTitle","Ordinal"],
    "currentCulture":"1033","provider":"People"}


    THIRD SORT   (DATA FROM BOTH PROVIDERS SHOWING BUT SHOULDN'T BE)
    {"startRowIndex":0,"maximumRows":50,
    "sortExpression":"","filterExpression":"",
    "requiredMetaFields":["Name"
    ,"ImageUrl","JobTitle","Ordinal"],
    "currentCulture":"1033","provider":"People"}

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Mar 2010
    Link to this post
    Hi Drew Greenwell,

    You may see the same items in both providers if you have two/more providers that have the same applicationName. If the application name is not the same there is no way to see the same items from one provider in another provider. You can gather more information about the provider model at Provider Model. All GenericContent modules use web service to bind and manage the content items in the client bound RadGrid control. The ContentManager works only with one provider, so  by default you can have items in the RadGrid only from one provider. You can have mixed list if you create list that has items from two providers and then you bind the RadGrid to this list.

    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.
    Answered
  3. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    24 Mar 2010
    Link to this post
    :/ Thanks for the solution. The link you listed me doesnt mention setting a different applicationName http://www.sitefinity.com/help/developer-manual/provider-model.html

    Additionally,  Ive stated it here a few times, but we have several clients that we have proposed sitefinity to and some of the time frames are in the 3-5 day span. If we have to wait 72 hrs to get a response we have lost 60% of the time alotted..  What is the support process and time frame for high volume purchasers and partners? if this process is more business realistic than the 72 hour response time for the forum, then what do we need to do to get enrolled? Do we need to make a bulk license purchase up front to get this rolling? We are not talking about hand holding, just clear direction when needed.

    Sorry for the impatience... but it was pretty frustrating to read disparate articles and documentation for 16 hours with no clear direction on why this would happen. Then I  find out that all i had to do was add an attribute to the declaration that is not on any of the other items listed in the telerik/cmsengine/providers node.. default values are a hindrance if their purpose is not explicitly documented. This page http://www.sitefinity.com/help/developer-manual/products-module-simple-implementation.html shows an applicationName being set but it in no way states that setting it is what causes the returned list to not contain default content. 

    This problem is fixed for me, but I would expect the documentation around this particular use case should be updated to better document required steps to have multiple providers based on generic content without having the content show up in the other lists.

    Again, Thanks for the help
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Mar 2010
    Link to this post
    Hello Drew Greenwell,

    Here is a link to the available support options - Support Options. All your requests were handled properly by developers in a timely manner. You may contact our sales department for more information about bulk purchase, licensing and other sales related inquiries.

    Kind 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.
  5. Drew Greenwell
    Drew Greenwell avatar
    66 posts
    Registered:
    11 Feb 2010
    24 Mar 2010
    Link to this post
    Thanks for the reply Ivan. Please dont take my previous reply as an insult towards the quality of responses or towards the ability of your team to meet the service goals you laid out. I was simply stating that for a business, 72 hrs is a long time and was hoping that there was a guaranteed path to take so it was not a roll of the dice on the time it would actually take for us to get back to our clients. Thank you for pointing out the support options, 48hrs will look much better.

    Please recognize that with some of the previous "big box" cms systems we've been using, people are often willing to show up on site or through web meetings to train the staff at no additional cost so these implementation type things usually get ironed out quick and we get on to bigger and better issues. I do understand that there is great difference in price in sitefinity and these other cms systems and as such there are going to be a few edges that are left to be sanded by our team and we are very willing to do the leg work. The first site we are doing is our own so the time frames are a little relaxed, but there are a lot of different developers involved that want to learn and these almost trivial road blocks can get frustrating early on.

    Thanks again for your help, it is of great value. I will contact sales to discuss this further.
    Drew
Register for webinar
5 posts, 1 answered