0

I have a search content webpart. I already filter on a contenttype. But this contenttype is used by 2 lists. I would like to add a extra filter for only ListA.

1 Answer 1

0

If you know the path to the list you can add

path:urltoList contenttype:whatever

as query

4
  • Can I do something like this?: Path:{SiteCollection.URL}/Lists/ListA/
    – Ola
    Commented May 7, 2014 at 10:21
  • What type of parameter would that be? But yes the Url should look like that Commented May 7, 2014 at 10:27
  • I hope this tag {SiteCollection.URL} wil get the current site collection url. I dont want to add a fixed site collection url.
    – Ola
    Commented May 7, 2014 at 12:12
  • Should work, you might need " around the {SiteCollection.URL}/Lists/ListA/ Commented May 7, 2014 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.