Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Office365.SiteDesigns.Deployment
Office365.SiteDesigns.PnP
Office365.SiteDesigns.SPFx
.gitignore
.yo-rc.json
Office365.SiteDesigns.PnP.sln
README.md added sample to demo oob site designs, flow, pnp, hub sites Jul 22, 2018

README.md

SharePoint Online Site Designs code samples

Summary

1. Out of the box Site Scripts and Site Designs

PowerShell scripts which use the Add-SPOSiteScript cmdlet to deploy site scripts to the tenant and the Add-SPOSiteDesign cmdlet to combine site scripts to deploy them as Site Designs

2. Extend Site Designs with Microsoft Flow, Azure Functions and PnP Schema

Code for using the triggerFlow action in a Site Design to call a Flow and pass parameters to it. Flow passes the parameters to an Azure Function which then applies PnP schema to the site which executes the Site Design.

3. Apply Site Design to existing modern site

Using the Invoke-SPOSiteDesign cmdlet to apply a Site Design to an existing modern site.

4. Join site to a Hub site using a Site Design

Configure a Hub site on the tenant using the Register-SPOHubSite cmdlet and join the current site to a Hub site using the joinHubSite site design action

5. Sample SPFx solutions used to deploy from Site Designs

Hello world SPFx web part and Application Customizer (for footer) which is deployed to a site using the installSolution and associateExtension actions in a Site Design.

6. Modern themes

Creating and deploying modern themes with the Add-SPOTheme cmdlet

Sample

Solution Author(s)
site-designs-flow-azure-functions-pnp-hubsites Vardhaman Deshpande (@vrdmn), Content and Code

Version history

Version Date Comments
1.0 July 22, 2018 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

You can’t perform that action at this time.