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

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

Searching for custom properties in a default search

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :SharePoint
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!

View Complete Post

More Related Resource Links

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    

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

The provider does not support searching and cannot search


Hi All,

I am having some trouble with searching on Active Directroy.

Here is the code I used to connect to Active Directory.


DirectoryEntry de = new DirectoryEntry( "LDAP://subdomain.domain.co.uk/rootDSE", ConfigurationManager.AppSettings[

Office: Relive the Moment by Searching Your IM Logs with Custom Research Services


Often, IM conversations contain important information you'd like to keep and reuse. Fortunately, MSN Messenger 6.2 has a feature to keep a conversation history permanently in XML format. This article shows you how to leverage that conversation history by consolidating IM exchanges so they are indexed, searchable, and ultimately reusable using the Microsoft Office 2003 Research and Reference task pane.

John R. Durant

MSDN Magazine February 2005

Personal view reverts back to default after updating properties of item


I am working with a company that has 1 site collection with several sub sites.  I have built 3 document libraries with workflow in 3 different sub sites and all behave as expected.  I have one site where ALL libraries do something perplexing;

If you are in a custom personal view and you go into the properties of a document and then exit (update or not, does not matter) it reverts back to the default view of that library. 

Has anyone seen this?  is there an option when creating an album that could cause this?

thanks in advance for any input on this odd issue.

Unable to search Custom User Property Created in User Profiles in SharePoint 2010


Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise

Search Server Gatherer - Custom hierarchical protocol handler ISearchProtocol for MOSS 2010



Search server gatherer calls CloseAccessor() and shutdown() on ISearchProtocol after GetChunk() even if the FILTER_E_END_OF_CHUNKS is not returned. After calling shutdown() it stops calling the createaccessor() with new URL. I want to create a hierarchical indexing but I am not gatherer is not suporting this. The same piece of code is working fine in MOSS 2007, I am facing this issue in MOSS 2010 only. Is there anything changed in MOSS 2010 which is creating this issue?



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?


Custom Search issue with freetext


Hi All,

My Environment : MOSS 2007 (sp2) with SQL Server 2005

I have a custom search webpart which uses FullTextSqlQuery to fetch the results from Index. I have a some keywords and a free text boxt to build the search query. Poeple enter their query by selecting the keywords and enter some free text into the text box.

Issue : When any PDF document (Not tested with .Doc) is searched using custom webpart with the numbers like "2,0233.21" I do not get any results returned even though the results are returned using the SharePoint out of box full text search. But when I search the content like "2+0233+21" I get results both in Out of box and in custom search webpart.

Requirement: The Custom search should be able to find the document when numbers like "2,0233.21" are entered. It should work exactly like the out of box search.

Thanks in advance for your suggestions.



Video: Creating Custom Ranking Models in SharePoint 2010 Search

In SharePoint search you can tune the weighting that search uses for the results and create custom ranking models to return the results the user is expecting. (Length: 2:28)

DateTime custom managed property search fails with " Your query is malformed. Please rephrase your q

I've created a front end search page in Silverlight 4 for SharePoint Search.  Currently we are using WSS 3.0 + Search Server Express 2008 (v  The page interacts with the MOSS version of the search web service at:   <site collection>/_vti_bin/search.asmx The reason for this approach is the unique way the requirements specify the look and behavior of the results.  The built-in Search Center page or web parts will not satisfy these requirements. We are going into production but I still cannot figure out how to search against my custom managed properties that are of Type DateTime.  If I cannot get this to work, it is a showstopper. I've tried numerous variations on the SQL Syntax and cannot get it to work.  I know the error is in the date portion of the WHERE clause since I can remove it and searches work fine. Here is a working query: SELECT Size, Rank, Path, Title, Description, Write, RequestSubmittedDate, DocumentType, RequestPromisedDate, ProblemDescription, DatePublished, RequestOwner, RequestingDepartment, DocumentAuthor, ProjectNumber, ProjectDescription, RequestStatus FROM scope() WHERE CONTAINS ('"nmr"') ORDER BY "Rank" DESC yet if I try to use a date literal in the WHERE clause as in the following query modification, I get the "malformed"

Instance and Default connection properties on SQL Server 2005

We had a sql server fail and I have been having troubles.  I compared the connection properties on the server properties and noticed that multiple default settings are no longer set.  So I'm wondering if during the failure these could have some gotten flipped.  DB's that worked all of a sudden don't work and we had to migrate to a different instance.  I have never changed any of the setings below and wonder what impact they would have if I changed them back to the default of an installed instance? ansi warning is checked ansi padding is checked ANSI NULLS is checked arithmetic abort is checked quoted identified is checked No Count is checked concat null yields null is checked Could anyone tell me how clearing these checked options will impact my db?   -- Paul Bergson MVP - Directory Services MCITP: Enterprise Administrator MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, Vista, 2003, 2000 (Early Achiever), NT4 http://www.pbbergs.com    Twitter @pbbergs Please no e-mails, any questions should be posted in the NewsGroup This posting is provided "AS IS" with no warranties, and confers no rights.

Serializaing/deserializing XOMLs with custom activities that have properties of ISerializable types

I have custom activities that have dependency properties of types that implement ISerializable. When they are serialized/deserialized to XOML, the ISerializable-implied functionality is ignored and the standard reflection-based SerializableAttribute behavior is invoked. This poses a serious problem since the types require precise control over their serialization to ensure that proper internal state is maintained across serialization boundaries. I am aware of the WF custom serialization methods as mentioned in Tom Lakes' blog post, but they seem to require the DesignerSerializerAttribute attribute on all custom types. This is a problem because the types are business objects shared across many (non-WF) applications and they are part of a seperate code base to which I have no access. Is there a different method for getting custom serialization? And what is the reasoning behind the WF team choosing to ignore the very basic ISerializable attribute which is supported by every other .NET API across the framework? Thanks in advance.

Remove "I like It" , "Tags & Notes" , RecycleBin and the default search box

Hello Is it possible to remove the "I like It" and "Tags & Notes" buttons? , the default "Search this site..." box in the top? And Recycle Bin... I want to remove/hide it so we cant see it on any of our websites. Thanks in advice...

BCS Custom Search Connector Concurrency

I wrote a custom search connector (.NET assembly) so that external ECM repositories can be indexed using either search service application (sharepoint or FAST).  However, the indexer process only calls my code one request at a time which isn't going to be fast enough in most cases.  I tried setting up a crawl impact rule, but still only a single request at a time.  If I change the impact rule to slow the crawl down, it works.  If I set the impact rule to handle 8 concurrent requests, it ignores it. Anybody have an idea on how I can get it to call my connector concurrently?Dan Hunsinger

Properties.Settings.Default.Save() folder

How can I determine or change the location that Properties.Settings.Default.Save() will save my user.config file.  Everything I have seen says it will be stored in a folder based on my application name but in my instance it's including my companies name as well and I cant figure out where it is getting that info from.  I would like to store all my local data in the same place so I want to know where the data will be stored so I can save other stuff there as well.  For example; I have a winform project named XYZApp which generates XYZApp.exe.AssemblyInfo.cs contains the following:[assembly: AssemblyTitle("XYZApp")] [assembly: AssemblyCompany("Software Company International, Inc.")] [assembly: AssemblyProduct("XYZApp")] From what I Read online my user.config should be stored in C:\Documents and Settings\<USER>\Local Settings\Application Data\XYZApp\ However mine appears to be stored in C:\Documents and Settings\<USER>\Local Settings\Application Data\Software_Company_XYZ\ So somehow its picking up the company and only part of the actual application name.  I'd like to have a way to know what the folder is going to be called so i can keep all the data in the same place. Is there a property i can check to determine this?

Custom DynamicData Default.aspx GridView

On the Default.aspx page the GridView control is populated programmatically by setting its Datasource to a list of table objects. Is there some way I could populate this GridView manually using my own set of NavigateUrls and DisplayNames?Simon
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