5

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.

5
  • 1
    I think your crawled properties would be called People:SalesID and People:RegionID not owsSalesID or owsRegionID
    – MLF
    Oct 13, 2011 at 15:16
  • @MLF: People:SalesID or People:RegionID does not exists either. Oct 13, 2011 at 15:28
  • dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/05/26/… Let me try Corey Roth's method and see if it works. Oct 13, 2011 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, 2011 at 15:35
  • @MLF: Oh yes, that box has been checked as well. Oct 13, 2011 at 15:46

1 Answer 1

2

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
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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