Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have 2 custom (RegionID and SalesID) in user profile. Both are populated with values. I reset the content index, made sure values are populated for these fields, did multiple full crawl. I made sure from CA that "metadata properties > category" people and sharepoint's bulk crawled property settings are checked for automatically generate a new managed property...

I see SalesID but no Managed property. For example, owsSalesID is not there for me to map it. RegionID does not even show up as a crawl property nor Managed property.

I went through the every single step (from here http://sharepointgeorge.com/2010/configuring-enterprise-search-sharepoint-2010) to make sure everything is properly configured.

What are my options now? Is there a powershell way to force add the crawl properties along with the Managed Property? If yes, how?

Any help will be appreciated. I am on this since Monday and it's not going anywhere.

share|improve this question
1  
I think your crawled properties would be called People:SalesID and People:RegionID not owsSalesID or owsRegionID –  MLF Oct 13 '11 at 15:16
    
@MLF: People:SalesID or People:RegionID does not exists either. –  Mary Rivers Oct 13 '11 at 15:28
    
dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/05/26/… Let me try Corey Roth's method and see if it works. –  Mary Rivers Oct 13 '11 at 15:28
    
When you edit the SalesID and RegionID profile properties, under the Search Settings section is the Indexed checkbox checked? –  MLF Oct 13 '11 at 15:35
    
@MLF: Oh yes, that box has been checked as well. –  Mary Rivers Oct 13 '11 at 15:46

1 Answer 1

up vote 1 down vote accepted

Answer on behalf of Donna (CW)
Just added them manually using PS: Here is the code

Adding both Crawl and Managed Property

$searchapp = Get-SPEnterpriseSearchServiceApplication "Search Service Application" 
$category = Get-SPEnterpriseSearchMetadataCategory –Identity People -SearchApplication $searchapp
$crawledproperty = New-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication $searchapp -Category $category -VariantType 31 -PropSet "00110329-0000-0110-c000-000000111146" -Name People:SalesID -IsNameEnum $false 
$managedproperty = New-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $searchapp -Name SalesID -Type 1
New-SPEnterpriseSearchMetadataMapping -SearchApplication $searchapp -ManagedProperty $managedproperty -CrawledProperty $crawledproperty
share|improve this answer
    
Thanks for posting the answer. –  Mary Rivers Oct 14 '11 at 13:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.