1

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.

1
  • @RanserSingh is correct, StartDate is one of the few OOB fields that doesn't have a Managed Property set up by default, so you have to set it up yourself (and make sure it's Sortable) to make it available in the CSWP. – Dylan Cristy Jun 12 '15 at 17:11
2

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."

3
  • The Issue is that in SharePoint online you cannot add a date time managed property. And Result Source Sort properties are exactly the same one available for the CSWP. Neither has the start date property – Emad Gabriel Jun 12 '15 at 18:20
  • Updated answer above – Ransher Singh Jun 12 '15 at 18:40
  • 2
    It worked by using the existing unused managed properties. Steps here: support.office.com/en-us/article/… – Emad Gabriel Jun 12 '15 at 19:13

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.