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

Forums / Bugs & Issues / MetaSearchInfo ItemInfo

MetaSearchInfo ItemInfo

4 posts, 0 answered
  1. G Overeem
    G Overeem avatar
    7 posts
    Registered:
    14 Mar 2010
    28 May 2010
    Link to this post

    Hi,

    I'm trying to filter on specific info in the iteminfo field. The result I get is 0. 

     

    filter.Add(

     

    new

     

     

     

    MetaSearchInfo(MetaValueTypes.ShortText, "ItemInfo", "something", SearchCondition.Like));
    GetContent(filter.Array());

    Am I doing something wronge? I do not want it to be bounded to any blog guid.

    With regards,
    Gideon Overeem

     

     

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    28 May 2010
    Link to this post
    Hello G Overeem,

    The second parameter is not a metakey which exists for your provider or the third parameter is not correct. The filter returns null because there are not matched results.

    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.
  3. G Overeem
    G Overeem avatar
    7 posts
    Registered:
    14 Mar 2010
    28 May 2010
    Link to this post
    Thank you for the quick response,

    Is there a way to get iteminfo from the blog post by using the
    MetaSearchInfo?
    The  third parameter is correct but I do not know if the second parm is the same or how it is called. For the IContent it is called ItemInfo. 
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    28 May 2010
    Link to this post
    Hello G Overeem,

    ItemInfo is a property of IContent object. The MetaSearchInfo and ContentFilterBuilder work only with meta data.

    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.
Register for webinar
4 posts, 0 answered