Ultimatevely, I want filter results from SharePoint search using data from BCS.
I created custom user property and map it to the BCS. Everything works fins (I can see data for each user in this field). However, crawler is just not picking this property (missing both in Crawled properties).
At this point, I manually added both Crawled and Managed Properties with PowerShell with following script
$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:ext_Searchable -IsNameEnum $false $managedproperty = New-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $searchapp -Name ext_Searchable -Type 1 New-SPEnterpriseSearchMetadataMapping -SearchApplication $searchapp -ManagedProperty $managedproperty -CrawledProperty $crawledproperty
After executing script and doing Full Crawl, I can see properties in Search Schema, however, when they are still missing from Query Builder (Result Sources in Search Application -> Local People Results -> Copy -> Launch Query Builder).