Sp-dev-docs: Multiple calender?

Created on 12 Jul 2018  Â·  2Comments  Â·  Source: SharePoint/sp-dev-docs

Can this solution show events from multiple calendars? I know that the fullcalendar.js can do that but I can't figure out how to do it in this version?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

docs-comment help wanted answered question

Most helpful comment

@americo2015 -- Yes sure. The way you would do that is to collect the information from multiple calendars and then merge them into one data set that you then pass to fullcalendar.js. You could do that in various ways. If you had a fixed set of calendars you could certainly hard code them. It might also be really nice to create a property pane that allows the user of the web part to paste in the calendars they want shown. You could also use search api to get calendar events. @sympmarc has a good blog post on this idea SharePoint Online Search Isn’t Displaying What I Expect – Part 1 – Trimmed Duplicates

In the example they're color coding based on person, instead you might color code based on calendar source, thereby making a custom rollup calendar.

All 2 comments

@americo2015 -- Yes sure. The way you would do that is to collect the information from multiple calendars and then merge them into one data set that you then pass to fullcalendar.js. You could do that in various ways. If you had a fixed set of calendars you could certainly hard code them. It might also be really nice to create a property pane that allows the user of the web part to paste in the calendars they want shown. You could also use search api to get calendar events. @sympmarc has a good blog post on this idea SharePoint Online Search Isn’t Displaying What I Expect – Part 1 – Trimmed Duplicates

In the example they're color coding based on person, instead you might color code based on calendar source, thereby making a custom rollup calendar.

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

Was this page helpful?
0 / 5 - 0 ratings