문제

In my Visual Web Part I need a KeywordQuery to search Most Popular Pages. Also, filter the results for Pages only.

도움이 되었습니까?

해결책

I simply added a sort by

KeywordQuery kq = new KeywordQuery(site);
kq.SortList.Add("ViewsLifeTime", SortDirection.Descending)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top