I'm working with a custom search solution on SharePoint Online using the modern experience. I'm hoping to be able to sort the results from this based on the number of views per document (i.e. the documents relative popularity). Is there a managed property i can use to sort on? Or will i have to do a REST call of some sort? Any help is appreciated. Thanks

  • You can use viewslifetime managed property. Will get you the most read docs Jul 18, 2019 at 16:17
  • @Gautam Sheth, how would I create a view that would only show me the most viewed files ?
    – Ed1995
    Aug 8, 2019 at 6:32

1 Answer 1


Just like Sheth said, viewslifetime is a useful property. In fact there are a bunch of similar managed properties you can use. enter image description here

A bit more information about viewslifetime and viewcountlifetime: ViewCountLifeTime Management Property

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.