I have configure SharePoint Search with line of Business Content Source (BCS).
Create Few Managed Property with this BCS.
Records is crawling successfully however managed mapped property value does not updated.
And one more thing, I have database in which I have 5 records however SharePoint crawling 7 records instead of 5. Two (2) of them are coming with null values.
Please help me to fix this situation...
I Got the Solution.
Above issue is resolved by adding ListElement and ItemElement in mapping of crawled properties box.
Related
I am having the same problem as this post: social.msdn.com.
I am aware that they have an answer but I can't seem to understand what they mean.
So I have set up a managed property and then added it to my refinement panel using this code:
<Category Title="Loan Category" Description="Use this filter to restrict results by Loan Category" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="5" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" SortBy="Frequency" SortByForMoreFilters="Name" SortDirection="Descending" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="LoanCategory" MoreLinkText="show more" LessLinkText="show fewer" />
However when I do a search it displays all kinds of GUIDs for the categories as well as the categories I am looking for. I am pretty sure this did not happen when I just had this set up in test.
The crawled properties that I have mapped to this managed property are as follows:
Loan Category(Text), ows_Loan_x0020_Category(Text), Loan_x0020_Category(Text)
I originally had "ows_taxId_Loan_x0020_Category(Text)" mapped as well however I removed it after reading this might be the issue. Ran a full crawl and still no luck. I have also reset the search index and run a full crawl.
Any advice would be greatly appreciated.
Here is the link that is being generated by the refinement panel:
<a title="Refine By: #96dbf06d-8bf8-4ec5-971b-36e27fba1f62;Loan Sale:Participation and Servicing Agreement;#4ac5410c-79e9-4a9a-99fb-66592342ed16;#51e388cd-62df-4e50-98b4-01af5f776aea;#04ac5410c-79e9-4a9a-99fb-66592342ed16" class="ms-searchref-filterlink" id="ext-gen151" href="/Search/Pages/results.aspx?k=LoanCategory%3AServicing&r=loancategory%3D%22%2396dbf06d%2D8bf8%2D4ec5%2D971b%2D36e27fba1f62%3BLoan%20Sale%3AParticipation%20and%20Servicing%20Agreement%3B%234ac5410c%2D79e9%2D4a9a%2D99fb%2D66592342ed16%3B%2351e388cd%2D62df%2D4e50%2D98b4%2D01af5f776aea%3B%2304ac5410c%2D79e9%2D4a9a%2D99fb%2D66592342ed16%22">
I determined that the GUIDs were showing in my refinement panel because they were in fact the contents of one of the crawled properties that was mapped to my managed property.
In order to determine which one I created a managed property for each of the crawled properties and added them individually. I then did an search index reset from central administration and re-ran a full crawl.
I found the guid in the database which gave me the heads up. In the database go to your search db and look for the table MSSManagedProperties. Your db name may be different.
Select * from [_SearchDB].[dbo].[MSSManagedProperties]
Get the managed property you want and then do a query on PropertyStore database table MSSDocProps based on the Pid.
Select strVal2 FROM [_SearchDB_PropertyStore].[dbo].[MSSDocProps] where Pid = ?
This gives you an idea of what data you are getting for that managed property.
Can anyone who has used the Sitecore SharePoint connector tell me how it chooses the name for the items it creates in the Sitecore tree?
I am able to map fields and sitecore values (such as __Displayname), but not the tree name.
The problem we face is that the data in SharePoint contains invalid characters that should not be allowed in the tree name.
Thanks in advance!
As far as I can see, SharePoint connector chooses Sitecore item name by iterating through the following SharePoint fields in that very order:
Title
LinkFilename
LinkTitle
NameOrTitle
URL
GUID
ID
If the field is not empty, its value is taken as an item name and the iteration stops. So you can find out where the invalid name comes from in your case. If it's NameOrTitle, for instance, then you can try to put a valid name to, let's say, Title and it should be picked by SharePoint connector.
I've never tried this myself, though. That's what I can judge about looking at the code.
Also, the documentation for SharePoint connector for Sitecore 6 is here.
I had created a web part on MOSS 2007 which displays a organizational chart by searching (Full Text) the user profiles.
To identify the subordinates of a user, I used to search for users with the particular user in Manager property. The query looked like this:
SELECT AccountName, PreferredName, Manager, WorkEmail FROM scope() WHERE ("SCOPE" = 'People') AND Manager = 'domain\parent_user'
But, the same query does not run in SharePoint 2010 as Manager crawled property does not exists.
So, I created a new crawled property and mapped it to People:Manager(Text) now, the Manager property is always empty.
Even a full crawl after clearing the indexes also not helping.
Can anyone please help me in getting manager information in Full Text Search?
Thanks in advance!
Update: I tried mapping the crawled property with ows_Manager(Text) property also, still the same result.
After struggling a little, I got it working!
The new crawled property mapped to People:Manager(text) started giving values in search result by following the below steps:
Check Indexed checkbox in Manager User Profile property edit page
Reset crawl index
Full crawl again
Is there some definition around the attributes that are returned from the Lists.GetListItems? I am able to view the attributes retuned just fine but I am wondering if they would ever change?
Here are some examples of what I am seeing... #ows_Author, #ows_FileDirRef, #ows_PermMask
I would like to build some classes around these values and my concern is that if they are not published somewhere Microsoft may up and change them or some setting in Sharepoint may.
It is possible that they change as sharepoint (major) version changes. Every change is possible then.
Don't think it would happen in minor version.
However they may also change depending on what list you query. But fields your mentioned and many other fields are basic fields that every list will contain.
If you want to view field data yourself (for example, what Type they are), download Sharepoint Manager - it's invaluable tool for a developer.
These are internal field names for default SharePoint fields. Unless you explicitly change them, they will remain the same.
Micheal Yeager's blog has a table which describes these fields and their data types:
http://blogs.msdn.com/michael_yeager/archive/2008/11/03/reference-list-for-internal-field-names.aspx
Moved to Server Fault:
Sharepoint managed Properties
I have a custom Content Type inside a list that has over 30 items, and I have added several "managed properties" to the "crawled properties", in the SSP.
All of them work except 1.
The column "Synopsis" is a multiline field with no limit on it's length. It appears as a crawled property "Synopsis", and is mapped to a managed property 'asynop'.
On the 'Advanced Search Page', it is added as a property and searchable, however it only returns a partial result (if at all). I manually created an entry, ran the crawl and was able to search for it. I edited an existing entry, ran the crawl (full and incremental), and it still only returned the manually entered entry.
If I entered the search term in the Search box directly "synopsis:fatigue", then all the correct results appear.
What the is happening? And could it please stop?
This is a known issue and is dependent on what type of search is executed.
See Steve Currans great answer to this post: http://social.technet.microsoft.com/Forums/nl/sharepointsearch/thread/f3f1d778-796e-4321-9c76-a6ede421a42f