Home > Search, Sharepoint > Aggregate Calendar across Site Collection using Search and SPCalendarView

Aggregate Calendar across Site Collection using Search and SPCalendarView

image

First we have to prepare the data from Sharepoint Search Result.

Some Calendar information such as, Start Time, End Time, and All Day Event do not have managed properties. So we have to create ourselves.

For Start Time use  ows_EventDate(Date and Time)

For End Time use ows_EndDate(Date and Time)

For All Day Event use ows_fAllDayEvent(Yes/No)

Don’t forget to do full crawl after that.

After that, we can build Calendar Webpart using SPCalendarView that get data from Search Result that accessed via search object model/API Smile . For Search only return Calendar items, use this condition contentclass = STS_ListItem_Events at your Search Query or applied it at Search Scope.

Categories: Search, Sharepoint Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: