Question

I am trying to get the CSWP to display all events and sorting using Start Date. The problem is that the "StartDate" field doesn't show up in the list of properties to Sort by in the Sorting Tab of the Advanced view of the query. Any idea what needs to be done here? It is a sharePoint Office 365 site. Publishing feature is enabled.

Was it helpful?

Solution

You have 2 options:

  1. Make sure that the field you are sorting on is defined as a Managed property with the Sortable option checked

(or)

  1. Create a result source with the same query and sorting and apply that to the CSWP

Note: In SharePoint Online, not all the options for system managed properties are available. If you’d like to set up a new managed property, you need to use an existing, unused managed property, and rename it by using an Alias. There are many managed properties available for this purpose. They have names such as "RefinableString00" and "RefinableDate19."

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