Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top