Questions tagged [site-script]
The site-script tag has no usage guidance.
8
questions with no upvoted or accepted answers
3
votes
1answer
230 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
0answers
33 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
0answers
182 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
19 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
0answers
17 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
56 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 ...