locked
SP2007: Specify image library for advanced search web control? RRS feed

  • Question

  • I'm having some issues setting up an advanced search for an image library. Our advanced search web control resides on a separate page from the image library, so I need some way of telling the search to only search the image library. I need to do the following:

    1) Setup the advanced search to only query the image library (which resides on a separate page from the search, but within the same site)

    2) The advanced search has a dropdown for fields to search by. I need to populate this dropdown with all fields available from the image library. Currently, it's not.

    BUT...here's the catch... For security reasons, we're restricted to only using "out of the box" solutions. We can't create any custom webparts, use sharepoint designer, or change anything in sp central admin.

    For example, I read one option was to create a search scope in central admin, but we don't have access to there, so that won't work.

    Are there any ways to do this "out of the box"?

    Thanks

    Wednesday, June 5, 2013 4:45 AM

All replies

  • Hi Goalie35,

    did you try to add "Search Scope" to the advance search result page ? this is the option through which you can target a particular list / library to be displayed in search result.

    Refer - http://nickgrattan.wordpress.com/2007/08/22/adding-search-scopes-to-advanced-search/ to create search scope on advance search page

    You can also customize your search result page using XSLT, but as you mentioned earlier you need to go with OOTB feature. In case you want to customize search result page refer - http://msdn.microsoft.com/en-us/library/bb896018(v=office.12).aspx


    Regards,
    Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or Vote As Helpful if it was useful.

    Wednesday, June 5, 2013 7:34 PM
  • Hi Pratik.  Thanks for your reply.

    Yeah, I looked into search scopes but it appears you need access to central admin to add this.  Unfortunately, we don't have access to central admin either.  Our hands are pretty tied.  We need to create what I mentioned using only ootb features, nothing more.

    Wednesday, June 5, 2013 8:18 PM