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
If you know the path to the list you can add
path:urltoList contenttype:whatever
as query
-
Can I do something like this?: Path:{SiteCollection.URL}/Lists/ListA/– OlaCommented 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.– OlaCommented May 7, 2014 at 12:12
-
Should work, you might need " around the {SiteCollection.URL}/Lists/ListA/ Commented May 7, 2014 at 12:17