<< SharePoint 2019/SE 'Modern' Web PartsTable of contents 
Color Calendar Web Part

The Color Calendar Web Part displays the color-coded appointments of the selected Sharepoint Calendar.
Sharepoint 2019 Modern Color Calendar Web Part

Web Part Configuration:


Title:
enter the optional web part title

Web Part:
AEColorCalendar

Configuration:
enter the below configuration options:

site=SomeSite (optionally enter the name of the calendar's site)
list=TeamCalendar (enter the name of the Sharepoint calendar)
view=SomeView (optionally enter the name of the calendar view)
colors=Business=tomato;Meeting=dodgerblue (enter the Category color values)
categorycolumn=SomeColumnName (override the "Category" column name)
statuscolumn=Location (optionally enter the column name to be used for the Status column color coding)
statuscolors=Room Boston=cyan;Room Miami=red (enter the Status column color values)
textcolor=black (override the default white text color)
endtime=1 (display the appointment end times)
weekend=0 (suppress the weekends)
weeview=1 (display a weekly calendar)
rowheight=60 (sets the minimum calendar week row height)
newitem=1 (display the "Add new item" button)
print=1 (display the "Print calendar" button)
tooltip=Location;Category (columns to be displayed in the event's tooltip)
localization=All day;Print Calendar;Add new item;Open Calendar;Week of (localize these strings)

Web Part Configuration
Webpart Homepage & Download »


Please enter a comment below if you want to give feedback or have suggestions for improvements:

User Comments Post a Comment 

Lubomir  
11/23/2023 09:36 
Dear Juerg,

is possible to add additional fields into webpart as is possible in non-modern version?
Juerg  
11/23/2023 11:07 
Lubomir,
we have now added the „template“ setting to be able to add additional fields to the “Modern” version of the web part as eg.

template=Location;Room

Please re-download the web part and then update the farm solution.
Lubomir  
11/24/2023 05:50 
Dear Juerg, thank you for previous update.

Also should be possible add moreexpand=1 as is in non-modern version?
Juerg  
11/24/2023 14:37 
Lubomir,
the SP 2019/2022 "Modern" version of the web part also supports the "moreexpand" option via the below setting:

options=moreexpand=1

However, this option is only available if the below configuration parameter is also set:

modern=0