Questions tagged [site-script]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to apply different site designs based on field in a list when site is created

I do not know where to turn for this answer and I am sure someone has the answer. I have 5 different site designs that need to be applied when the site is created. Each site design is tied to my ...
0
votes
1answer
30 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
0answers
14 views

Site Script stuck at 0%

My site script get suck at 0% when creating site and i cant figure out why? Script works fine exept when i add one of theese three verbs it gets stuck at 0% { "verb": "joinHubSite", "...
0
votes
0answers
12 views

Attach flow dynamically to lists created by site design

I have a site design, that adds a SharePoint list with some columns. I need the ability to select an item from that list/library, and click on Flows, and choose my flow and run it. The case I have ...
1
vote
2answers
236 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
102 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
0answers
82 views

Change position of Title field in list, in Site Design script

When I create a list in a site design script (via createSPList -> Add-SPOSiteScript -> Add-SPOSiteDesign), the Title field is automatically added. I've found out how to remove the Title field by using ...
0
votes
1answer
79 views

Less than symbol in formula causes error in calculated column when applying site design

I'm producing a site design script for SharePoint Online in PowerShell using Add-SPOSiteScript as per these instructions, and I can create the script and add it to a site design without any errors. ...
0
votes
1answer
26 views

provide teamsite template trough sitescript: cannot convert Object[] to string

I made a (simple) sitescripttemplate in JSON which I would like to make available for all the users who can create a site. The inconvenience lies in the fact I only got it working which I write the ...
2
votes
1answer
104 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
40 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 "...
0
votes
2answers
115 views

Set as default content type using site script

I am adding a content type using site script to a library which is already having three content types. Now I want to make my custom content type as default one. Is it possible to make a content type ...
3
votes
1answer
49 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 ...
0
votes
1answer
99 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 ...