Questions tagged [site-design]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k 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/...
3
votes
1answer
54 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 "...
3
votes
1answer
317 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 ...
3
votes
1answer
213 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 ...
3
votes
1answer
277 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", "...
3
votes
1answer
54 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 ...
2
votes
1answer
130 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 (...
1
vote
2answers
687 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....
1
vote
2answers
671 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?
1
vote
1answer
41 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", ...
1
vote
1answer
118 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 ...
1
vote
1answer
25 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 ...
1
vote
1answer
42 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 ...
1
vote
0answers
88 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", "...
1
vote
1answer
109 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 ...
1
vote
1answer
33 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 ...
1
vote
0answers
212 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"...
0
votes
2answers
292 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?
0
votes
1answer
58 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 ...
0
votes
1answer
209 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 ...
0
votes
2answers
180 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 ...
0
votes
2answers
501 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? ...
0
votes
1answer
160 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 ...
0
votes
0answers
19 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 ...
0
votes
1answer
71 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 ...
0
votes
0answers
10 views

How to create page, add webpart to page on site creation, via site design/script called Application Customizer?

I need to provision a page with a specific layout, and webparts added when a new site is created. Was hoping Site Designs-Scripts might help with that, but I can find no actions for doing so in the ...
0
votes
1answer
45 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 = &...
0
votes
0answers
19 views

Create a site design for the default templates only

I want to create a site script that calls a flow when sites are created. I use following: $jsonSiteScript = '{ "$schema": "schema.json", "actions": [ { ...
0
votes
1answer
438 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 ...
0
votes
1answer
52 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", "...
0
votes
2answers
44 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 ...
0
votes
1answer
220 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 ...