SharePoint Online - Enable Scheduling via CSOM on Modern Pages (Site Pages)

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3154339%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3ESharePoint%20Online%20-%20Enable%20Scheduling%20via%20CSOM%20on%20Modern%20Pages%20(Site%20Pages)%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3154339%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3EHello%2C%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3ENow%20we%20can%20enable%20Scheduling%20on%20Modern%20Site%20Pages%3A%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fschedule-a-sharepoint-page-or-news-post-to-go-live-at-a-specific-time-4b81873c-9bbc-4307-b7ea-7b6662ff1af2%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20ugc%3D%22%22%20noreferrer%3D%22%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fschedule-a-sharepoint-page-or-news-post-to-go-live-at-a-specific-time-4b81873c-9bbc-4307-b7ea-7b6662ff1af2%26lt%3B%5C%2FA%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FA%3E%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3EI%20was%20looking%20at%20the%20CSOM%20API%20and%20did%20not%20find%20any%20way%20to%20accomplish%20this%20programmatically%3F%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3EDoes%20anyone%20know%20how%20to%20accomplish%20this%3F%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3EIf%20not%20CSOM%2C%20any%20alternatives%3F%20REST%20API%3F%20PnP%20Provisioning%3F%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20class%3D%22%5C%26quot%3B%5C%26quot%3B%22%3EThanks%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3154339%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CLINGO-LABEL%3EDeveloper%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3ESharePoint%20Online%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E
Contributor

Hello,

 

Now we can enable Scheduling on Modern Site Pages:

 

https://support.microsoft.com/en-us/office/schedule-a-sharepoint-page-or-news-post-to-go-live-at-a-s...

 

I was looking at the CSOM API and did not find any way to accomplish this programmatically?

 

Does anyone know how to accomplish this?

 

If not CSOM, any alternatives? REST API? PnP Provisioning?

 

Thanks

0 Replies