More in this section

Forums / Developing with Sitefinity / AdditionalFilter question

AdditionalFilter question

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    17 Nov 2014
    Link to this post

    I need to split out the generated filter expression in a DynamicContentView to get a list of selected tags and there an easy way or helper to do this?

    I'm not wanting the resulting filterexpression string, but just a way to know which is which from the MasterViewControl.AdditionalFilter.QueryItems collection.

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    26 Mar 2015
    20 Nov 2014
    Link to this post
    Hi Steve,

    There is no easy way to get the AdditionalFilter collection. You will need to override both the DynamicContentView and the  DynamicContentViewMaster classes. From the second you have the AdditionalFilter method exposed. Feel free to add any additional logic to manipulate the collection there.

    Ivan D. Dimitrov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered