locked
How to Make Properties Search Work in the Advanced Search page? RRS feed

  • Question

  • I work in SharePoint 2007. I have created "Advanced Search" page. It is the standard advanced search page and is created by choosing "search center" option when you "create site" in site settings.

    The top part of this advanced search page has fields to enter search terms. This will search full text of documents. This part works.

    Bottom part of the search page includes properties search. I know how to add or change those properties in the list. It is done through XML file which can be found in "Edit Page", "modify the web part", and it is in properties.

    I have added a new property in this XML file but it does not appear in the drop-down list in the search page. I know that this property must exist and data has to be populated in at least one record for this property to show up in the drop-down list. This has been done and still the added property does not show up in the drop-down list in the search page.

    What else do I need to do to make properties search work?

     

    Thank you very much in advance for your help.


    • Edited by Mike Walsh FIN Sunday, April 3, 2011 7:26 AM Ask one question per thread. First question set aside from the para describing the problem. Second question removed. Post it in a new thread with a new Title. Title changed to be more specific
    Saturday, April 2, 2011 9:30 PM

Answers

  • Hi,

    Please try to follow the exact steps as mentioned below:

    http://msdn.microsoft.com/en-us/library/bb428648%28v=office.12%29.aspx

    http://www.codeproject.com/KB/sharepoint/MOSS_Advanced_Search.aspx


    Best Regards, Ashok Yadala
    • Marked as answer by David HM Monday, April 11, 2011 1:31 AM
    Monday, April 4, 2011 2:07 PM
  • Hi,

    you need to know the concept of creating scopes and use them in advanced search: Please follow these articles to create scopes:

    http://office.microsoft.com/en-us/sharepoint-server-help/define-scopes-for-searches-HA010241119.aspx

    http://sharepointsearch.com/cs/blogs/sanjaya/archive/2009/04/03/sharepoint-search-scopes.aspx

    http://sharepointsearch.com/cs/blogs/sanjaya/archive/2009/04/07/sharepoint-search-scopes-part2.aspx

    After following the above article, create a scope that matches the site/sub site or can also be a SpList

    Then follow this  to display these Scopes in advanced search box, so you can restrict the search results to a particular site.

    Edit advanced search box > modify shared web part > select the check box display scopes --> now you can restrict the search results to a particular scope.

    This below article answers your 2nd question:this is an example of adding PDF result type to the advanced search:

    http://workerthread.wordpress.com/2009/06/10/add-pdf-result-type-to-moss-2007-advanced-search/

     


    Best Regards, Ashok Yadala
    • Marked as answer by David HM Monday, April 11, 2011 1:31 AM
    Saturday, April 9, 2011 10:39 PM

All replies

  • You might consider building your own advanced search control instead.  It takes a little bit of code, but it's not hard to put together and you get a much more customizable user interface.
    Corey Roth blog: www.dotnetmafia.com twitter: @coreyroth
    Monday, April 4, 2011 1:47 PM
  • Hi,

    Please try to follow the exact steps as mentioned below:

    http://msdn.microsoft.com/en-us/library/bb428648%28v=office.12%29.aspx

    http://www.codeproject.com/KB/sharepoint/MOSS_Advanced_Search.aspx


    Best Regards, Ashok Yadala
    • Marked as answer by David HM Monday, April 11, 2011 1:31 AM
    Monday, April 4, 2011 2:07 PM
  • Thank you very much, Ashok. I understand now how to make properties search work in the Advanced Search.

    How do I create the limit of search to search a specific site ony? I would like to change Result Type (right now there are choices in the drop-down box - all results, documents, word documents, excel documents, presentations) to be able to select the site there instead?

    Many thanks again.

    Friday, April 8, 2011 8:16 PM
  • Hi,

    you need to know the concept of creating scopes and use them in advanced search: Please follow these articles to create scopes:

    http://office.microsoft.com/en-us/sharepoint-server-help/define-scopes-for-searches-HA010241119.aspx

    http://sharepointsearch.com/cs/blogs/sanjaya/archive/2009/04/03/sharepoint-search-scopes.aspx

    http://sharepointsearch.com/cs/blogs/sanjaya/archive/2009/04/07/sharepoint-search-scopes-part2.aspx

    After following the above article, create a scope that matches the site/sub site or can also be a SpList

    Then follow this  to display these Scopes in advanced search box, so you can restrict the search results to a particular site.

    Edit advanced search box > modify shared web part > select the check box display scopes --> now you can restrict the search results to a particular scope.

    This below article answers your 2nd question:this is an example of adding PDF result type to the advanced search:

    http://workerthread.wordpress.com/2009/06/10/add-pdf-result-type-to-moss-2007-advanced-search/

     


    Best Regards, Ashok Yadala
    • Marked as answer by David HM Monday, April 11, 2011 1:31 AM
    Saturday, April 9, 2011 10:39 PM