Wednesday 17 January 2007

Adding Properties to MOSS Advanced Search

There are changes in configuring the properties to appear in the advanced search in MOSS 2007. Here I Explain the steps to create managed properties and configuring it in MOSS 2007 Advanced Search.

1) Go to the central administration -> Shared Services














2) under the search Menu . Click on Search Settings.

3) In the Configure Search Settings page , click on meta data property mappings.




















4) In the Metadata property mappings page. Click on New managed Property

















5) Enter the Property Name and add the crawled properties that you want to add by clicking on the Add mappings button.



























6) Click Ok.


Once you have created the new custom managed property. Go to the Advanced search page.

- Click on Site Settings and then on "Edit Page"

- Click on Edit Menu of the Webpart and then Select "Modify Shared Web part"


In the Advanced Search Box Pane . Click on the Properties Menu and the select the content in the properties Text Box. In order that your managed properties appears in the propertoies lits you need to make change in the XML file content.















The XML File in the properties has the following structure explained as below:

Find the string as below


Add the following String below it



MyProperty denoted the managed property that was created in the search settings in the shared services.

Find the Resulttype node as below


Add the following string below this



Now you can click on Apply and Ok to close the pane. The property "MyPropery" will appear in the property list box when the All Results is selected.

3 comments:

Jim's Blog said...

This was very useful, thanks for the info. One thing, at the bottom the XSL doesn't appear to be there after the "as below". Thanks again, Jim

Anonymous said...

Hi Mohammed,

I am not able to find the bottom XML text. Can you update the text.

Unknown said...

Hi Mohammed,
It was very useful, thanks 4 details. But Still i am not able to found result on custom property. Thanks in advance.