Month: February 2013

Content type publishing option missing from Site Collection Administration

Okay, you have set up your content type hub, published your content types and are now ready to use them in your lists and libraries. You go to your list, click to add from existing content types and your published content types aren’t available.

You may find this if the top level site in your site collection was created from the Blank Site template (there may also be other templates out there where this doesn’t work too). This is because the TaxonomyFeatureStapler feature does not include the Blank Site template.

You probably don’t want to go back and recreate your site collection again, so you can activate the feature manually by typing the following stsadm command:

stsadm -o activatefeature -id 73EF14B1-13A9-416b-A9B5-ECECA2B0604C -url http://toplevelsiteurl

Once activated, you will see the Content type publishing option appear in Site Collection Administration, as well as the Term store management option in Site Administration on the top level site. You should now be able to use your published content types as required – even in sub-sites (if not, you can repeat the stsadm command for your sub-sites, too).

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 🙂