Forum Discussion
SharePoint site scripts and custom site designs
This is a nice introductory article on this topic via Deleted - https://robertschouten.com/2017/12/13/sharepoint-online-site-designs-and-site-scripts/.
"Before the availability of Site designs and Site scripts—there was no easy way to deliver an easy user experience to end users—for creating custom sites. There was no way to customise the Out Of the Box site creation process—other then redirect a user to a custom form. With Site designs we get the possibility to use the Out of the Box site creation proces and choose our custom defined Site design."
The option to trigger a Flow as part of this process for extra customisations makes this very versatile.
Thanks for mentioning my blog post!
- Patrick AbelDec 16, 2017Brass ContributorAnyone having success with site scripts in their targeting release tenants yet?
The PS cmdlets are successfully adding site-scripts and site-designs for me, but at the moment don't appear to be honoring the association between the two (executing associated site scripts with a given site design).
I'm not seeing the property page processing on site creation (using MS' JSON samples).- Dec 18, 2017
Seeing same results here. But as stated in the message centre:
We'll be gradually rolling this out to Targeted Release customers in December and will complete the rollout in early 2018.
So maybe not all the bits and bytes are there yet? I will keep on trying and when succeeded, I'll let you know...
- ExpiscornovusJan 03, 2018Iron Contributor
Robert Schouten, Patrick Abel, Michel Verwijmeren any progress on your tenants?
In most demo tentants I still got the Initializing notification.
The interesting part is that currently in one of my newer demo tenants I can't even get passed the creation of the site. I am getting the error when creating a Communication site based on a standard design or a custom site design:
Couldn't create the group, please go back and try again.
- Michel VerwijmerenDec 18, 2017Brass Contributor
The same result on my side as well.. The page keeps 'Initializing'.
I tried scripts based on the documentation, but the result stays the same.- Patrick AbelDec 18, 2017Brass Contributor
Michel Verwijmeren good to see it's not just me! I am seeing the same "stuck initializing" behavior when using a 68 web template (Communication Site):
Getting a few things readyWe're updating your site with additional components and settings.Initializing...However, for web template 64 (O365 Group Team Site), I am not seeing the panel pop-out at all (using the same site script).
- ExpiscornovusDec 18, 2017Iron Contributor
Patrick Abel i have a similar issue. It doesn't look like it recognizes the site scripts. I actually used a site script from the documentation:
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/get-started-create-site-designWhen creating a Communication site based on a custom design with that script my new site keeps saying:
Getting a few things ready, We're updating your site with additional components and settings.Initializing...