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();
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
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();