1. Go to central admin site of your farm.
2. Navigate Application Management --> Manage Service Connections.
3. Locate Search Service Application. Select it by click it in the same row. (as usual step in SP 2010).
4. From left quick launch, navigate to scopes.
5. Create New Scope with your preferred title, description and specify your custom search result page (ex - salesresults.aspx)
6. Create rule as :
select Scope Rule Type as Web Address,
select Web address as http:/// (ex - http://myserver/sales)
select behavior as include.
7. Now go to your search center, where you have created your custom search tab.
8. Go to the result page (which is created using search results page layout) for that custom tab.
9. Edit page and locate search core results web part on bottom of page.
10. Edit the web part.
11. Expand location properties. In the Scopes text box, enter your scope name which is created in step 5 above.
12. save web part settings and save page. checkin the page and publish it.
13. when you search on this custom tab, on refiner list under site, you can only sites available under the managed path.
Done.
No comments:
Post a Comment