When tried to
crawl my business data catalogs and select Business data from content source, You
didn’t find my business data.
Check External Content Type information. You will find its property Crawlable is No you need to update it to Yes like Figure Below:
Check External Content Type information. You will find its property Crawlable is No you need to update it to Yes like Figure Below:
This occurs
because I didn’t define properties RootFinder or UseClientCachingForSearch to
my list Method.
To Solve this problem you have two options:
- You can add these properties to your list methodInstance in bdc file and deploy again.
- You can add these
properties to your list method of entity using PowerShell: $entity = Get-SPBusinessDataCatalogMetadataObject –BdcObjectType “Entity” –Name “EntityName” –Namespace “ModelNameSpace” -ServiceContext adminurl$methodinstance = $entity.MethodInstances | where {$_.Name –eq “ReadListName”}$methodinstance.Properties.Add(“RootFinder”, “”)$methodinstance.Properties.Add(“UseClientCachingForSearch”, “”)$methodinstance.Update()
No comments:
Post a Comment