{"id":2329,"date":"2018-12-14T12:59:21","date_gmt":"2018-12-14T20:59:21","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=2329"},"modified":"2021-10-18T11:17:40","modified_gmt":"2021-10-18T18:17:40","slug":"site-scripts-site-designs-fall-2018-update","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/site-scripts-site-designs-fall-2018-update\/","title":{"rendered":"Site Scripts &amp; Site Designs \u2013\u00a0Fall\u00a02018 Update"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone wp-image-2332 size-large\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article1-1024x705.png\" alt=\"\" width=\"1024\" height=\"705\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article1-1024x705.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article1-300x206.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article1-768x528.png 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article1.png 1196w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>As previewed at Ignite 2018, we are pleased to announce the release of some powerful new capabilities for site scripts and site designs. These new capabilities are intended to facilitate the creation of site scripts and make it easier for site owners to apply site designs directly to their own sites.<\/p>\n<h2>Auto creation of site scripts<\/h2>\n<p>The first enhancement is a new PowerShell command to extract and produce a site script directly from an existing SharePoint list or library. This output of this <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/sharepoint-online\/get-spositescriptfromlist?view=sharepoint-ps\">Get-SPOSiteScriptFromList<\/a> command can be used to create or seed a site script. All the current list actions are supported, including site columns, content types, and even formatted views.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2333 size-large\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article2-1024x319.png\" alt=\"\" width=\"1024\" height=\"319\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article2-1024x319.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article2-300x93.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article2-768x239.png 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article2-1536x478.png 1536w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article2.png 1558w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2>Large site script support<\/h2>\n<p>And as the list of script actions available to use grows, we\u2019re also introducing a new PowerShell command to schedule the execution of large site scripts: <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/sharepoint-online\/add-spositedesigntask?view=sharepoint-ps\">Add-SPOSiteDesignTask<\/a>. This new command is intended to replace <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/sharepoint-online\/invoke-spositedesign?view=sharepoint-ps\">Invoke-SPOSiteDesign<\/a> by queuing large scripts of up to 100K characters (yes, that\u2019s a lot of potential script actions!).<\/p>\n<h2>New site design information panel<\/h2>\n<p>Once published and applied to site designs, these scripts can also be selected and applied through the existing self-site creation form \u2013 as well as through a new site design information panel. This new panel is available to site collection administrators and site owners \u2013 and is intended to provide a visual interface for viewing what site designs have been applied to a site (and their script details) as well as a means to apply updates or additional ones.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2334 size-large\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article3-1024x558.png\" alt=\"\" width=\"1024\" height=\"558\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article3-1024x558.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article3-300x164.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article3-768x419.png 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article3-1536x837.png 1536w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/12\/article3.png 1915w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>We hope you find these additional capabilities useful in your journey to modernize \u2013 and manage \u2013 your SharePoint sites. We will be continuing to evolve the settings that can be auto-extracted and are also working on additional script actions and multi-geo support.<\/p>\n<p>Please keep the questions and feedback coming! Inform us about what you need!<\/p>\n<p>And there\u2019s more on the way! We have lots of updates we\u2019re working on for Ignite, so stay tuned and keep the feedback coming! You can catch most of us on Twitter \u2013 or leave your feedback on User Voice (<a href=\"http:\/\/aka.ms\/spsitedesignuservoice\">http:\/\/aka.ms\/spsitedesignuservoice<\/a>).<\/p>\n<h2><b>Additional resources<\/b><\/h2>\n<p>Review the\u00a0following resources\u00a0for more details on creating and using site scripts and site designs.<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/declarative-customization\/site-design-overview\">SharePoint Site Design and Site Script Overview<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/declarative-customization\/get-started-create-site-design\">Get started creating Site Designs and Site Scripts<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/declarative-customization\/site-design-json-schema\">Site Design JSON Schema<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/SharePoint\/sp-dev-site-scripts\">Reference Site Script templates in GitHub<\/a>\u202f- We do\u202f<b>welcome<\/b>\u202fcommunity contributions here!<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"table-scroll-wrapper\">\n<p><span style=\"font-size: large\"><em>\u201cSharing is caring\u201d<\/em><\/span><\/p>\n<\/div>\n<hr \/>\n<p><i>SharePoint Team, Microsoft &#8211; 14th of\u00a0December 2018<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we move into summer,\u00a0we are\u00a0pleased to\u00a0announce the availability of additional Site Script actions and capabilities for Site Designs. These new actions are designed\u00a0to facilitate the programmatic configuration of common site settings and elements \u2013 and can be applied both manually through PowerShell or integrated into the SharePoint Online self-service site creation experience.<\/p>\n","protected":false},"author":69078,"featured_media":2335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[78],"class_list":["post-2329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","tag-data-visualizations"],"acf":[],"blog_post_summary":"<p>As we move into summer,\u00a0we are\u00a0pleased to\u00a0announce the availability of additional Site Script actions and capabilities for Site Designs. These new actions are designed\u00a0to facilitate the programmatic configuration of common site settings and elements \u2013 and can be applied both manually through PowerShell or integrated into the SharePoint Online self-service site creation experience.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=2329"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2329\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/2335"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=2329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=2329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=2329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}