More in this section
Forums / Set-up & Installation / Limiting Ouptut of News Listing Control

Limiting Ouptut of News Listing Control

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
4 posts, 0 answered
  1. Steve .
    Steve . avatar
    14 posts
    Registered:
    14 Apr 2010
    29 Jun 2010
    Link to this post
    Hi there,

    Quick question - is it possible to limit the output of the news listing control by tag? Equally, is it possible to do the reverse and exlude news items with a specified tag?

    Apologies if this is an easy one - I'm a Sitefinity novice!

    Cheers,

    Steve
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    29 Jun 2010
    Link to this post
    Hi Steve .,

    When you open NewsView control for editing and go to Advanced tab there is a section of properties called Filters. There is a property FilterExpression  that you can use to filter all items by Tag.Name.

    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
  3. Steve .
    Steve . avatar
    14 posts
    Registered:
    14 Apr 2010
    29 Jun 2010
    Link to this post
    Hi Ivan,

    Thanks for getting back to me - can you confirm what versions of Sitefinity FilterExpression is available in? I'm not seeing it in my install.

    Are you equally able to apply FilterExpressions to category / tag cloud lists?

    Thanks,

    Steve
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    29 Jun 2010
    Link to this post
    Hi Steve .,

    The property should be available since Sitefinity 3.5 release. If you use Sitefinity 3.6 or 3.7 you should see this property for sure ( you can check our demo website at demo.sitefinity.com)

    Categories Tree /TagsList controls are not IFilterable controls and datasource of these controls cannot be filtered out of the box. You will have to create a custom control in this cases. Here is a sample code for CategoriesTree control that illustrates filtering by blog post.

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