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

Forums / Developing with Sitefinity / FilterExpression Syntax

FilterExpression Syntax

3 posts, 1 answered
  1. Trevor
    Trevor avatar
    17 posts
    Registered:
    06 Sep 2010
    21 Oct 2010
    Link to this post
    I would just like to find out if it is possible to use FilterExpression with multiple categories for example something such as: Category IN ("Test2,Test1") AND Publication_Date <= "#now" AND Expiration_Date > "#now"


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    21 Oct 2010
    Link to this post
    Hi Trevor,

    The expression should be Category IN ("category1", "category2") AND Publication_Date <= "#now" AND Expiration_Date > "#now"

    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. Trevor
    Trevor avatar
    17 posts
    Registered:
    06 Sep 2010
    21 Oct 2010
    Link to this post
    Hi Ivan,

    That is just what I've been looking for! Thank you very much!
Register for webinar
3 posts, 1 answered