Category: search

SharePoint 2013 Search, the alternative of scopes


There are no scopes in SP 2013 ( we now have “Result sources” instead),  so no more search scope dropdown  !!!! 😦


but don’t worry, there is a way to have them back.

1) to test this out please create a basic search center



2) go to the result page by writing test for exemple and then hitting search and then edit the page



3) Edit the “Search Results” web part and click change query



4)Edit the query to match your scope.


5)For example, we added a “Path” variable to only search in this site



This page will be your new drop down menu selection. The above image shows a search that will only return items that match what is typed in the Search Box + sp2013-dev:14455/* in their URL.
6) Edit the page, and edit your search box web part, then Select “Turn on drop-down” and “Use this site’s Search Settings” in the web part menu, and hit apply.



7) Next, click on “Search Settings” to edit your sites search settings

8)Ensure the drop-down and use parent settings are applied, and then add a new link.


9)Fill out the title and URL (the URL is the link to your Search Result page), and click OK.



i added another link named active documents

10) Save your new Search Settings, and test out Search 2013 with the familiar drop-down menu



Create Managed Properies and add them to the advanced search Sharepoint 2010

Create Managed Properies and add them to the advanced search Sharepoint 2010

Hello 🙂
Today i will show you how to create and configure new search metadata and add it to an advanced search properties like the one you see below:


First of all we need to create the managed property:
1. go to central administration application management page and click on manage service applications.

2. select Search Service Application then click manage from the ribbon bar.

3.In the bar on the left click Metadata Properties.

4- Then click new managed property.


we are gonna create a managed property named Test that combines 4 crowled properties ( site columns):

5. Enter the property name and the description. In the use in scope section check the Allow this property to be used in scopes option.

6. click add mapping and choose you crowled property:


Click ok then.

You must start full crawling otherwise you property will not be recognised.

Now that we have our managed property lets go back to our advanced search webpart.

7. Go to your advanced search web part then click edit page.

8. Select “Edit Web part” from the Edit menu on the advanced search web part.


9. in the Properties section and then click on the XML and expand it:


Add the tag of your property in the property definitions section modify the DataType attrbuite with your property data type “your site column data type” and add another element in the result types section “this will appear in the advanced search properties dropdown list” of the XML as it’s shown below. Then when you finish click ok.


<PropertyDef Name=”test” DataType=”text” DisplayName=”Destinataire”/>
<ResultType DisplayName=”Tous” Name=”default”>
<PropertyRef Name=”test” />


11.  Now go to the search page. You will find the destinataire is added to the properties as below.


if you have any questions i will be happy to answer them 🙂