Questions tagged [site-script]

The tag has no usage guidance.

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

Repost Page not inheriting site column when added via Site Script

I have a Site Script where I add Site Columns to the Site Pages library. My issue is when adding site columns via Site Script the Repost Page content type is not inheriting the added columns, only the ...
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
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 ...
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", "...
0
votes
1answer
42 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
149 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
0answers
13 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 ...
3
votes
1answer
220 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
2answers
493 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?
0
votes
2answers
193 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 ...
1
vote
0answers
171 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
176 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
43 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 ...
3
votes
1answer
49 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
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 ...
0
votes
1answer
146 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 ...