3

I want to display frequently visited items (only Documents) by the logged-in user through search results webpart by handling with search query. I have tried using sortby "ViewsRecent" by "Descending" but it is not working. Please let me know where i missed out

4

By default, the ViewsRecent managed property contains the number of views for an item within the last 14 days.

You can sort by the ViewsLifeTime managed propertyWhen the page is viewed, it will add the count to this ViewsLifeTime field. The SharePoint crawler will pick up the change.

Note: Only when the documents are viewed in the Office Online, they will be recorded.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.