SOLVED

SharePoint modern pages deployment

%3CLINGO-SUB%20id%3D%22lingo-sub-1610572%22%20slang%3D%22en-US%22%3ESharePoint%20modern%20pages%20deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610572%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20new%20to%20SharePoint.%20I%20have%20started%20exploring%20if%20SharePoint%20modern%20pages%20could%20be%20programmatically%26nbsp%3Bcreated%20in%20a%20local%20system%2Fenvironment%20%26amp%3B%20then%20deployed%20on%20a%20SharePoint%20hosting%20via%20Azure%20DevOps.%3C%2FP%3E%3CP%3ECould%20anyone%20please%20help%20me%20out%20with%20this%2C%20what%20could%20be%20the%20approach.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1610633%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20modern%20pages%20deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610633%22%20slang%3D%22en-US%22%3EThe%20%22modern%22%20experiences%20in%20SharePoint%20Online%20are%3A%3CBR%20%2F%3E%3CBR%20%2F%3EModern%20team%20sites%3CBR%20%2F%3EModern%20list%20and%20library%20experiences%3CBR%20%2F%3EModern%20site%20pages%3CBR%20%2F%3E%22Modern%22%20experiences%20are%20being%20gradually%20released%20in%20SharePoint%20Online%2C%20and%20you%20can%20control%20how%20they%20are%20applied%20at%20the%20tenant%20or%20site%20level.%20If%20you%20have%20existing%20customizations%2C%20you%20can%20defer%20using%20the%20new%20experiences%20until%20the%20required%20customization%20options%20are%20available.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20have%20existing%20customizations%20that%20are%20business%20critical%20for%20your%20deployment%2C%20we%20recommend%20using%20the%20following%20process%20for%20adopting%20the%20%22modern%22%20experiences%3A%3CBR%20%2F%3E%3CBR%20%2F%3EReadiness%3A%20Understand%20the%20%22modern%22%20experiences%2C%20know%20what%20features%20they%20offer%2C%20but%20equally%20important%2C%20understand%20which%20features%20are%20not%20(yet)%20available.%3CBR%20%2F%3E%3CBR%20%2F%3EAssess%3A%20Assess%20to%20what%20extent%20your%20current%20customizations%20can%20work%20within%20the%20%22modern%22%20experience.%20Also%20assess%20which%20of%20your%20sites%20have%20customizations%20or%20features%20that%20will%20not%20work%20within%20the%20%22modern%22%20experiences.%20These%20sites%20and%20their%20customizations%20should%20be%20updated%20or%20need%20to%20stay%20in%20%22classic%22.%20However%2C%20other%20sites%20should%20work%20just%20fine%20using%20the%20%22modern%22%20experiences.%20The%20best%20way%20to%20assess%20your%20compatibility%20with%20the%20%22modern%22%20experiences%20is%20by%20using%20the%20SharePoint%20Modernization%20scanner.%3CBR%20%2F%3E%3CBR%20%2F%3ESolution%20planning%3A%20Plan%20the%20work%20required%20for%20both%20custom%20solutions%20and%20sites%20to%20prepare%20them%20to%20be%20used%20with%20the%20%22modern%22%20experiences.%3CBR%20%2F%3E%3CBR%20%2F%3EDevelop%20and%20test%3A%20Apply%20the%20needed%20changes%20to%20your%20customizations%20and%20test%20them.%3CBR%20%2F%3E%3CBR%20%2F%3EDeploy%3A%20Roll%20out%20the%20updated%20changes%20to%20your%20SharePoint%20Online%20environment.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1610695%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20modern%20pages%20deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610695%22%20slang%3D%22en-US%22%3EYou%20can%20absolutely%20create%20modern%20pages%20programmatically%2C%20but%20in%20order%20to%20be%20able%20to%20test%20what%20you%20develop%20what%20you%20have%20to%20do%20is%20to%20set%20up%20a%20Microsoft%20365%20Developer%20tenant%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

I am new to SharePoint. I have started exploring if SharePoint modern pages could be programmatically created in a local system/environment & then deployed on a SharePoint hosting via Azure DevOps.

Could anyone please help me out with this, what could be the approach.

Thanks.

2 Replies
Best Response confirmed by agrrwal (Occasional Visitor)
Solution
The "modern" experiences in SharePoint Online are:

Modern team sites
Modern list and library experiences
Modern site pages
"Modern" experiences are being gradually released in SharePoint Online, and you can control how they are applied at the tenant or site level. If you have existing customizations, you can defer using the new experiences until the required customization options are available.

If you have existing customizations that are business critical for your deployment, we recommend using the following process for adopting the "modern" experiences:

Readiness: Understand the "modern" experiences, know what features they offer, but equally important, understand which features are not (yet) available.

Assess: Assess to what extent your current customizations can work within the "modern" experience. Also assess which of your sites have customizations or features that will not work within the "modern" experiences. These sites and their customizations should be updated or need to stay in "classic". However, other sites should work just fine using the "modern" experiences. The best way to assess your compatibility with the "modern" experiences is by using the SharePoint Modernization scanner.

Solution planning: Plan the work required for both custom solutions and sites to prepare them to be used with the "modern" experiences.

Develop and test: Apply the needed changes to your customizations and test them.

Deploy: Roll out the updated changes to your SharePoint Online environment.
You can absolutely create modern pages programmatically, but in order to be able to test what you develop what you have to do is to set up a Microsoft 365 Developer tenant