Click here to Skip to main content
Click here to Skip to main content

Adding Properties to MOSS Advanced Search

, 18 Jan 2007
Rate this:
Please Sign up or sign in to vote.
This article explains the steps to create and configure a Managed Property in MOSS 2007 Advanced Search

Introduction

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 configure it in MOSS 2007 Advanced Search.

Adding Properties to MOSS Advanced Search

  1. Go to the central administration -> Shared Services

    Sample screenshot

  2. Under the Search Menu, click on Search Settings.
  3. In the Configure Search Settings page, click on Metadata Property Mappings.

    Sample screenshot

  4. In the Metadata Property Mappings page, click on New Managed Property

    Sample screenshot

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

    Sample screenshot

    Sample screenshot

  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 then select the content in the Properties Text Box. In order that your Managed Properties appears in the Properties lists, you need to make changes in the XML file content.

Sample screenshot

The XML File in Properties has the following structure:

  • Find the string:

    <PropertyDef Name="ModifiedBy" DataType="text" 
                DisplayName="Last Modified By"/> 

  • Add the following String below it:

    <PropertyDef Name="MyProperty" DataType="text" DisplayName="MyProperty"/>

    MyProperty denotes the managed property that was created in Search Settings in the Shared Services.

  • Find the ResultType node:

    <ResultType DisplayName="All Results" Name="default">

  • Add the following string below this:

    <PropertyRef Name="MyProperty" />

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

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Sabeer Mohammed

United Arab Emirates United Arab Emirates
I work for Wipro Technologies. I expertise in Microsoft Enterprise servers . Biztalk, Sharepoint,MCMS, Commerce server . I am currently working on MOSS 2007 .

Comments and Discussions

 
GeneralUnable to Search using the property Pinmembervignesh14316-Jul-09 20:13 
GeneralRe: Unable to Search using the property PinmemberTracy Sterling12-May-10 10:20 
GeneralImages are not loading... PinmemberLucky2128-Jul-08 19:11 
GeneralRe: Images are not loading... PinmemberSabeer Mohammed25-Aug-08 4:36 
QuestionHow to deploy search settings (managed properties and scopes) from dev to staging Pinmemberarpit.goyal@capgemini.com26-Nov-07 0:32 
GeneralImages are not loading Pinmembervivekthangaswamy26-Feb-07 18:39 
GeneralRe: Images are not loading PinmemberSabeer Mohammed27-Feb-07 6:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 18 Jan 2007
Article Copyright 2007 by Sabeer Mohammed
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid