4

When you search for a recurring event in search, you only get back one event item whose property for start and end time corresponds to the start time of the first occurrence and the end time of the last occurrence respectively.

Is there any way for search to return all occurrences?
For example, if I have an event that repeats 4 times during the month, I want those 4 occurrences to show up in search with their respective start and end times.


I know for sure that each of those occurrences are actual list items themselves (They have IDs that includes period in them though instead of just a whole number (e.g. ...dispForm.aspx?ID=28.1.31)). Is it just because that SharePoint doesn't crawl through them?

1
  • Which kind of item re them? Did your try to run a crawl? Maybe full
    – Nk SP
    Apr 21, 2015 at 21:25

1 Answer 1

5
+50

I wonder if it is possible to achieve this in OOTB search results. However, i came across a workaround here. It does not use SharePoint Search,instead, it uses CAML query with a property to show recurring events as different item.

The RecurrenceID field identifies a specific instance of a recurring event and its value represents the starting date and time of a specific instance. SPQuery can be used as following in this case: enter image description here

So if custom solution is acceptable, the above query can be used to get desired result.

2
  • 1
    Yes, I came across that post on my search for a solution. Unfortunately, we're dead set on using search as 1) we don't want to introduce custom code (e.g. custom web part), and b) we want to leverage the querying and the refining done by the OOTB core search results web part.
    – kei
    Apr 27, 2015 at 14:21
  • Is it possible with JSOM/jQuery and how?
    – Ram
    Oct 5, 2016 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.