Questions tagged [site-design]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
115 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
219 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", "...
1
vote
1answer
10 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
30 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
35 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
0answers
167 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
1answer
37 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
0answers
25 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
1answer
41 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
41 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
198 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 ...