1

I saw about the ViewsLifeTime and ViewsRecent properties. The two return empty. How do I work?

1

Try to enable Search and Query property for "ViewsLifeTime" and “ViewRecent”managed property via SharePoint Online admin center-> search->Mange Service schema. Wait for crawl content in SharePont Online.

Then use Search Query API to get the information.

Here is a post for Retrieve Popular Documents Programmatically In SharePoint using JSOM and REST API

  • Properties are locked for editing, do you know if I can create a new one that does the same thing? Do you know the crawled property responsible for returning the number of views? – Matheus Araujo Nov 29 '18 at 10:01

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.