.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to Make Properties Search Work in the Advanced Search page?

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#

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.

View Complete Post

More Related Resource Links

Managed Properties in the Advanced Search page of Sharepoint Server 2007


Hi all,

I want to search a custom field in a SharePoint list by using the Advanced Search page. I followed this post http://interdata.cl/?p=368 and i was able to find all metadata properties without any blank.  For example, I´ve created columns called "Baseline", or "Milestone" and it works properly, but for example, "Document Code" doesn´t works.


The field shows up correctly in the Advanced Search properties, but whenever I do a search trying to specify my custom property I get the error message: "Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.".

if I look at the Managed property in Central administration, it tells me "Number of objects with this property: more than 350", so the data is mapped correctly to the property.


Thanks in advance,



Advanced Search page no found



Currently when a user attempts to conduct an advance search they recieve a page not found message. When I tried to conduct a search myself I was able to enter in my search term, but the search results came up as page not found. On closer inpection I noticed that it is droping part of the URL.


http://sitesp.ca/sites/PETL-EPFT/searchcenter/Pages/Advanced.aspx becomes http://sitesp.ca/sites/PETL/searchcenter/Pages/Advanced.aspx

Has anyone seen this before? Any help would be greatly appreaciated.


Why search do not work if I leave only 1-2 parameters to the Advanced Search Box?

I have add advanced search box to the SharePoint 2010 Server Enterprise portal. Default configuration works fine and I can also uncheck few parameters, but problem exists if only 1-3 parameters are checked and other parameters are unchecked. I would like to leave only "All of these words" and "Show Exact phrase" and remove the rest of parameters. However if I uncheck following, the search do nothing. SharePoint refresh the site, but do nothing. -Uncheck: Show "exact phrase" search box -Uncheck:Show "none of these words" search box -Uncheck:Show the scope picker -Uncheck:Etc.Kenny_I

Advanced Search doesn't page results 1, 2, 3, 4, 5 Next >


The Advanced Search does return results for my searches, it is located at http://mosslab01/SearchCenter/Pages/Advanced.aspx, when I click search I am taken to the results page: http://mosslab01/_layouts/osssearchresults.aspx

it says Results 1-10 of about 443,904. Your search took 1.05 seconds.  

However, I don't see any parameters in the URL regarding my search keywords, and the paging just appends '?start1=11', '?start1=21', '?start1=31', '?start1=41', when I click 2, 3, 4, 5, respectively, hence the newly formed URL looks like this http://mosslab01/_layouts/osssearchresults.aspx?start1=11 and the page displayed is blank in the search results area.

Previously the results page was set to http://mosslab01/SearchCenter/Pages/results.aspx but whenever a search using "This Site: Site01" was performed no result was returned




Custom Properties in Advanced Search Web Part - a bug??



we are trying to configure the advanced search web part and add some custom properties. Those properties are of type managed metadata.

We saw the following sample:


When try to use the web part, for example by add the property "product" and then search "when [product]="valueA",

we get not only results where the item has a property "product=valueA",

but also any item where in its body (full text) there is "valueA".

This behavior doesn't occur when searching non-custom property (for example "author=keren").

Is that a bug or are we missing something in the customization?

thanks a lot!



keren tsur

how to make a dropdownlist looks like google search box


dear all...

any idea how to do that ?

Thnx in advance

Customizing Search Results page in MOSS



The Search Results page in MOSS seems to list the results as links by default. My customer asked me if I could customize the search results so that they show in a data view web part. Is this possible?



QueryEx (Search) results and Custom Page Index


Hi All,

I done a web part which allow the user to query the search.asmx. It return the result fine against which I apply some xslt. However I need a mean to create a Page index. I only return the result based on a range defined in the query.

I need somehow to obtain the number of result the search is returning in total against what I only want to display on the screen.

The only way I sort of figure to do that is by first make a search just to obtain the number of result it will return in total and then make a search defining a range.

Has someone done something similar?


Portal Search Work - Site Collection Search Does Not


In our SharePoint installation we have an SSP which indexes local office sharepoint server sites.  However there is a problem, although we can do portal searches which reveal search results it is not able to do local searches at the site collection level and as a result we are presented with the typical error below.


No results matching your search were found.

  1. Check your spelling. Are the words in your query spelled correctly?
  2. Try using synonyms. Maybe what you're looking for uses slightly different words.
  3. Make your search more general. Try more general terms in place of specific ones.
  4. Try your search in a different scope. Different scopes can have different results.

I am unsure as to why this strange event is occuring.  We do not have the WSS Search component running in the MOSS environment as the SSP service should be able to index and server search queries at the portal and local site collection level.


Any thoughts to this?



Advanced People Search

Hi All, I'm having a problem with the Advanced People seach webpart, one of the fields under 'Search Options' is Memberships. I have updated it inline with this article http://support.microsoft.com/kb/935196, which now brings back results when searching by using a distribution list name, but I'm still getting no results when searching by a Site Name (as displayed under in the "Memberships" webpart on a mysite) Also is there a way to change the word "Memberships" in the webpart, to something like "Site Memberships"

Long execution times for Search pages even after 4th or 5th user has accessed the same page.

Hi Guys We have a Sharepoint 2010 farm with two NLB web fronts ends, a Index server and a two box SQL cluster. The same problem also occurs on a dev box which has Sharepoint 2010 and SQl server running on the same single box. When a user access the search or advanced search page we get long execution times of between 15 and 30 seconds.  The strange thing is that the user will have a slow response the first time, then they are fine for a period of an hour or two and then they hit the slow response again.  Below i have copied info from the developer dashboard.  Does anyone have a suggestion of where to start tackiling this issue. Thanks 1st Run.  (Note this site was accessed by 3 other users first) BeginRequestHandler (0.05 ms) PostAuthenticateRequestHandler (0.06 ms) PostResolveRequestCacheHandler (18.48 ms) GetWebPartPageContent (16.87 ms) GetFileAndMetaInfo (15.57 ms) GetWebPartPageContent (35.25 ms) GetFileAndMetaInfo (34.99 ms) GetWebPartPageContent#1 (89.27 ms) GetFileAndMetaInfo (89.06 ms) Add WebParts (3975.17 ms) Search Box (3974.54 ms) SearchBoxEx.OnLoad (15426.56 ms) SearchBoxEx.HandleContextualScoping (0.01 ms) UserPreference.GetUserPreference (15418.52 ms) UserPreference.GetFromCache (0.04 ms) SearchServiceApplicationProxy.GetUse

I can't get my search paging webpart to work

I created a page and put a core results web part on it.  I changed the url to myurl?k=pdf (to show a bunch of pdfs).  This works well.  I customized my xslt to show the columns that I want.   I added a paging webpart and it doesn't seem to work.  I added a refinement panel, and that does work.  Both are set to user query.  I changed both "Maximum page links before current" and "Maximum page links after current" to 2 so I would definitely see paging.

Search - How to remove a meta tag ... / custom column is not showing up in Crawled Properties after

Hi I got the following warning after I crawled a site. Info out of Crawl Log: "The content for this address was excluded by the crawler because this item was marked with a no-index meta-tag. To index this item, remove the meta-tag and recrawl." Sound easy but I don't no where I could do it. The other problem is that I try to get a custom column from a custom list showing up in the crawle properties. I am using also a custom scope with the behavior "INCLUDE" ... In MOSS 2007 it was a lot simpler ;-) Thanks Regards MIA    

Is there a way to make SPS 2003 search fields search the MOSS indexes?

Here's my situation: We're doing a gradual migration from SPS to MOSS. Can anyone tell me if there's an easy way to make the SPS search fields search the MOSS indexes? The easiest way I can think of is to great a web part for SPS which will gather the scope and search param and redirect the user to the MOSS search result page. If there's an easier way. I'm all ears.

Searching for custom properties in a default search

Hi all, I have added some custom properties in to Manage User Properties in my User Profile Service Application. The issue I'm having is that I'm unable to obtain search results from these properties. For example, if in the Enterprise Search / People tab I enter "Dave" and click search, then I'll be presented with results of people who's name matches "Dave". If I enter "Information Technology" then I'll get a list of all users who's department is "Information Technology". So far we're okay! But let's go back to the custom property. Let's say it's called "Clients" and it is for storing client names against the staff profiles. If I search for "Microsoft" and a user has Microsoft in their client property then no results are found. I've created the managed properties in the Metadata Property Mappings of my search service application, done full crawls but nothing. If I search for "clients:microsoft" then I get results. So the question is how do I or is it even possible to get custom metadata properties to show up in a default search? Thanks!

Behavior of advanced search

Hi, when searching by properties in the advanced search, for example by "authotr equals Danny Din" - should it find also items which contain the word Danny Din in the body of the item, or only in the metadata of the item?  

Search functionality on Web page

Hi all,          I have one web page which contains lot of text (i.e FAQ page with lot of questions and answers). I have put the text in <div></div> tag. I want to add one "Search" button with a text box, so that when user enters some text in text box and hit Search button , if the word is present in the page text, page focus should be go to that text.          Can any body please tell how should I do that.Thanks 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend