I want to display a list of posts in a Content By Search web part. I only want posts from sites within the site collection that were created with my custom web template. Is this possible? I was thinking that I could filter based on a custom property in the SPWeb, but everything I'm seeing seems to indicate I can only search based on the metadata of the posts themselves.
1 Answer
With standard SP form I guess it's not possible. But you could build your own search form...
- add a search results webpart.
- edit webpart
- click "Change query"
- To get the search input from user choose "Value of a field on the page" as filter.
- additionaly you can what ever filter you want here