Questions tagged [site-design]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 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 ...
1
vote
1answer
63 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
19 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 ...
0
votes
1answer
27 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
1answer
30 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
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": [ { ...
1
vote
1answer
18 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
1answer
35 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
0answers
51 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
89 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 ...
0
votes
1answer
187 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
129 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 ...
1
vote
1answer
32 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 ...
0
votes
0answers
34 views

How to wait for site design application is finished?

I use some site designs I apply through HTTP REST call. Initially, I used the ApplySiteDesign function, which is synchronous. However, it started to fails with some site designs. No error returned but ...
0
votes
2answers
144 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 ...
2
votes
1answer
91 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 (...
0
votes
2answers
236 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
2answers
382 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
44 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 ...
3
votes
1answer
174 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 ...
1
vote
2answers
612 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
0answers
193 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"...
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
252 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
50 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
302 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
53 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 ...
1
vote
2answers
653 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....
0
votes
1answer
209 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 ...
0
votes
1answer
153 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 ...