Questions tagged [site-design]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
339 views

SPO Modern - Save site as template is missing and not showing

Requirements: I have a SharePoint online Modern site that is around 40 GB. I would like to save the site as a template including its design content and use the same site template on a different tenant....
user avatar
  • 319
1 vote
0 answers
80 views

Cannot add content types from hub with Site Script and Invoke-SPOSiteDesign

I am attempting to add Content Types form Hub to a site through a site script and then Invoke the site design through the script. The site script seems to work if I use the UI to add the content type, ...
user avatar
0 votes
0 answers
28 views

SharePoint Content Types (from Hub) and MS changes

I'm provisioning a site through a flow, which in turn executes a Site Design (site script) that creates a library and adds several Content Types from a CT hub. After creating the site I have to wait a ...
user avatar
0 votes
0 answers
42 views

PowerShell - Add-SPOSiteScript - addSPLookupFieldXml action not recognised

I would like to add some new tables to my SPO site through using PowerShell and a site script. One of the columns is a Lookup type. According to this, I should be able to use the action ...
user avatar
0 votes
2 answers
222 views

Not able to add preview image in custom site Design

I am trying to create custom site design using PnP provisioning on my tenant. Everything works fine except preview Image. It is not coming in the site while I go to apply the design. If I list the ...
user avatar
  • 156
1 vote
1 answer
157 views

Site Design that can run Apply-PnPProvisioningTemplate?

Trying to setup easy process for client to rollout Sharepoint sites using GUI 'Site Designs' feature. General task I am trying to accomplish is this: Want to make custom Site Design where sitescripts ...
user avatar
1 vote
1 answer
83 views

How to wait for the completion of a site design task?

I'm writing a script that should apply a site design to a site (large site design). I can queue the task, but I didn't found a way to wait for the effective completion. How to do that ? I use either ...
user avatar
  • 7,426
0 votes
1 answer
71 views

Returing Id from Get-PnPSiteScriptFromWeb

I am attempting to grab the Id from a site script generated from Get-PnPSiteScriptFromWeb but am somehow unable to (?) I want to use it in Add-PnPSiteDesign on the following line. $SPTemplateSite = &...
user avatar
  • 750
0 votes
1 answer
168 views

How to add default folder in document library Json Schema - Team site

I would like to add functionality to my script to add a default "Archive" folder to Document library. It would be good to add in the upper part of the screen an explanation what files should ...
user avatar
  • 61
1 vote
1 answer
82 views

Call an external function app with http trigger from site script

I can see you can trigger flows and logic apps from site scripts. I want to call an function app directly without a flow and logic app is that possible? I can see there is a verb called triggerFlow ...
user avatar
1 vote
1 answer
79 views

Site Collection Administrators - Site design JSON

I would like to add a group to my site design which will be Site Collection Administrators. I used such code in JSON while creating design: { "verb": "addPrincipalToSPGroup", ...
user avatar
  • 61
1 vote
0 answers
130 views

Creating lookup site column with site scripts

I am trying to create some look-up columns in my site (not in the list) with site scripts. I have succesfully been able to create one: { "verb": "createSiteColumnXml", "...
user avatar
  • 31
1 vote
1 answer
162 views

How to use Site Design to remove default items from new sites?

very new to SharePoint and I've been asked to set up new site design templates for SharePoint online. While I've managed well enough to create and add new site designs, I'm struggling with the ...
user avatar
  • 11
0 votes
1 answer
679 views

How to pass current user email to Power Automate using site script

I want to trigger Power Automate through site design (inside site script). Found documentation from MS on how to implement this. There is a way to trigger flow using triggerFlow verb and with When ...
user avatar
  • 1,526
0 votes
1 answer
402 views

Site Design containing library with folders

I created a Site Script to create a site design, and the site script includes a document library with many folders in it. The site design deploys without any problems, but when I try to apply it to ...
user avatar
  • 943
1 vote
1 answer
34 views

Best way to chain together two SPO cmdlets

In the Sharepoint Online Management Shell my goal is to call the cmdlet Invoke-SPOSiteDesign (doc) with one fixed Design (i.e. the -Identity parameter) onto all SPOSites on my tenant. I can get all ...
user avatar
  • 113
1 vote
3 answers
278 views

Can you automate the creation of a custom permission level in Modern SharePoint?

I am working on a Power Automate where I create a new project site, apply a site design and customize permissions. I have managed to get the first 2 working, but I am having trouble with the custom ...
user avatar
2 votes
1 answer
192 views

What WebTemplates are available for site designs in SharePoint Online?

Reading Microsoft Documentation for the command Add-SPOSiteDesign, I see three potential values of the WebTemplate parameter are 1 (team site not connected to group), 64 (team site), and 68 (...
user avatar
0 votes
2 answers
397 views

How to apply site-design in SharePoint Online?

Does any one know how to apply the custom site design to the team site collection URL in SharePoint online through client side object model?
user avatar
0 votes
2 answers
693 views

addSPLookupFieldXML within JSON template

Ok I am running into issues for creating a choice field within a document library. I cannot get the addSPLookupFieldXML to work properly within the JSON template. Any ideas on what I am doing wrong? ...
user avatar
0 votes
1 answer
74 views

'Name' column on view being duplicated on design rerun

I've written the below JSON to create a list (with the doc library template) and create an associated view. { "verb": "createSPList", "listName": "Doc lib name", "...
user avatar
  • 1
0 votes
2 answers
48 views

Site Design/Site Template/Site Script

Currently I am configuring A LOT of site designs and site scripts to help with the creation of "Site Templates" in SharePoint online. I am doing well with the both of these but the question I have is ...
user avatar
  • 65
3 votes
1 answer
277 views

How get ID of modern Site Features

I am using site designs to create new site collections attached to a hub site with the appropriate features enabled, now I seem to have hit a wall between classic and modern features. I have an action ...
user avatar
1 vote
2 answers
752 views

SharePoint Site footer - Site Script/Site Design

Is it possible to configure the footer in a Modern SharePoint site with the help of Site Script and Site Design?
user avatar
1 vote
0 answers
258 views

Cannot install SPFX package using Site Scripts

We've noticed that for starting from July 19 2019, we can no longer install SPFX packages using Site Design. Here is the very minimum sample that replicates the issue: siteDesign.json { "$schema"...
user avatar
3 votes
1 answer
3k views

SharePoint 2019 theme on premise

I wish to add a theme to a SharePoint site, that is hosted on a SharePoint 2019 Server on-premise. I have followed these instructions as mentioned in the below link. https://docs.microsoft.com/de-de/...
user avatar
3 votes
1 answer
299 views

Sharepoint site design not applying stuck at initialisation

Sharepoint site design not applying stuck at initialisation. Below is my site script. { "$schema": "schema.json", "actions": [ { "verb": "createSPList", "...
user avatar
3 votes
1 answer
67 views

ÅÄÖ in Site Design script

I have a super simple site design script that supposed to remove left nav links. One of the links contain the character "å" (swedish letter). But sharepoint doesn't recognize this letter and it shows "...
user avatar
  • 141
3 votes
1 answer
332 views

Create a site design for team site w/o O365 group

I've been testing how to create site scripts and site designs for our SharePoint online sites that use O365 groups, such as Teams sites and Communication sites. The scripts work just fine and I'm able ...
user avatar
3 votes
1 answer
56 views

Spfx Site Designs - IsDefault behaviour has changed

When site designs were first launched, I swear that using the IsDefault parameter only added the site design to the default SharePoint site templates. Now it appears that IsDefault both modifies the ...
user avatar
  • 4,031
1 vote
2 answers
780 views

How to create site template with modern capabilities in SharePoint

I want to create a site template (lets say leave management system) with newly introduced "Site Design". With site design we can create lists, libraries with some set of columns, installing add-in etc....
user avatar
  • 1,526
0 votes
1 answer
233 views

How to create a lookup column with Site Design for modern sites

As per the MS article i have created site design file and uploaded to SharePoint which is working fine. But I want to create a lookup column with the site design approach. I am using below code to ...
user avatar
  • 1,526
0 votes
1 answer
175 views

SharePoint Site Script throwning error

I am planning to use SharePoint Site Scripts to provision modern sites. But, when I run command on PowerShell to add site script I am running to error. I am facing the same issue, in other tenant as ...
user avatar
  • 2,930