PnP - Add overlay calendar in SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-888103%22%20slang%3D%22en-US%22%3EPnP%20-%20Add%20overlay%20calendar%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-888103%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20I%20use%20PnP%20to%20add%20a%20overlay%20calendar%20in%20a%20calendar%20view%20in%20SharePoint%20Online%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20only%20find%20the%20solution%20by%20using%20the%20CSOM%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Foffice%2Fen-US%2F04281751-ea1e-4569-946e-825e4e0d470d%2Fpowershell-script-for-calendar-overlay-in-sharepoint-2013%3Fforum%3Dsharepointdevelopment%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Foffice%2Fen-US%2F04281751-ea1e-4569-946e-825e4e0d470d%2Fpowershell-script-for-calendar-overlay-in-sharepoint-2013%3Fforum%3Dsharepointdevelopment%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20cannot%20find%20the%20%22CalendarSettings%22%20property%20in%20the%20%22View%22%20object%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20978px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F135060i4B12BDE75FA998DD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Overlay1.png%22%20title%3D%22Overlay1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstead%20of%20use%20the%20Web%20UI%2C%20any%20suggestion%20or%20workaround%20solution%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-888208%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20-%20Add%20overlay%20calendar%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-888208%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F385374%22%20target%3D%22_blank%22%3E%40Lam01007%3C%2FA%3E%26nbsp%3BYes%20you%20can%20use%2C%20check%20all%20the%20possibilities%20%2C%20it%20has%20overlay%20functionality%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2FPnP%2Ftree%2Fmaster%2FSamples%2FCore.DisplayCalendarEvents%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2FPnP%2Ftree%2Fmaster%2FSamples%2FCore.DisplayCalendarEvents%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi All,

 

Can I use PnP to add a overlay calendar in a calendar view in SharePoint Online?

 

I only find the solution by using the CSOM: https://social.msdn.microsoft.com/Forums/office/en-US/04281751-ea1e-4569-946e-825e4e0d470d/powershel... 

 

But I cannot find the "CalendarSettings" property in the "View" object:
Overlay1.png

 

Instead of use the Web UI, any suggestion or workaround solution?

 

Many thanks!

 

 

 

1 Reply
Highlighted

@Lam01007 Yes you can use, check all the possibilities , it has overlay functionality here https://github.com/SharePoint/PnP/tree/master/Samples/Core.DisplayCalendarEvents