Virtual Happy Hour canceled for Friday May 31st.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour canceled for Friday May 31st.
use GetPagesResult() instead of GetResult()
http://find.episerver.com/Documentation/episerver-cms-integration-getpagesresult-and-getfilesresult
Hello!
I'm getting a deserializing error when trying go get all subpages for a page. Error is as follows
var listItems = SearchClient.Instance.Search<EditorialPage>(Language.Swedish).For(string.Empty) Line 31: .Filter(x => !x.MatchTypeHierarchy(typeof(PageData)) | ((PageData)x).Ancestors().Match(currentPage.ContentLink.ToString())) Line 32: .GetResult();