For cache purpose we're querying some Keywords based on Category WebDAV on application start. In Tridion 2011 following code used to achive this and worked well:
_coreService.GetSearchResults(new SearchQueryData {
ItemTypes = new[] { ItemType.Keyword },
SearchIn = new LinkToIdentifiableObjectData { WebDavUrl = categoryWebDav } })
.Select(k => k as KeywordData).ToArray();
However when we upgraded our Tridion 2011 to Tridion 2011 SP1 that piece of code doesn't work anymore and returns empty array for some reason.
So, is there way to fix this method to make it works as before or maybe there are some alternative way getting this? Please note that only IdentifiableObjectData
array as return value is applicable.
core.GetList(categoryTcm, new KeywordsFilterData())
, but it returns an exception: Unexpected list type: Tridion.ContentManager.Data.ContentManagement.KeywordsFilterData.. However, GetListXml works well