What?
How to configure multiple search core results web parts on a SharePoint 2010 page?
Why?
So what's a big deal in dropping multiple search core results web parts on one page?
When multiple search core results web parts exist on a page each with own query specified in either "Append Text To Query" or "Fixed Keyword Query", then one of the search core results web parts returns wrong results.
How?
In order to segregate the results for the two search core results web parts, we need to use a property called “Cross Web Part Query ID” on the basis of which the search results are rendered. Whenever multiple search web parts are configured and we want them to display different query results, then we should make sure to change the “Cross Web Part Query ID” for each web part.
References: http://technet.microsoft.com/en-us/library/gg549987.aspx and http://joeprakash.wordpress.com/2011/11/01/configuring-multiple-search-core-results-web-part-on-a-sharpoint-2010-page/
How to configure multiple search core results web parts on a SharePoint 2010 page?
Why?
So what's a big deal in dropping multiple search core results web parts on one page?
When multiple search core results web parts exist on a page each with own query specified in either "Append Text To Query" or "Fixed Keyword Query", then one of the search core results web parts returns wrong results.
How?
In order to segregate the results for the two search core results web parts, we need to use a property called “Cross Web Part Query ID” on the basis of which the search results are rendered. Whenever multiple search web parts are configured and we want them to display different query results, then we should make sure to change the “Cross Web Part Query ID” for each web part.
References: http://technet.microsoft.com/en-us/library/gg549987.aspx and http://joeprakash.wordpress.com/2011/11/01/configuring-multiple-search-core-results-web-part-on-a-sharpoint-2010-page/
No comments:
Post a Comment