Forum Discussion
DeanOfReply
May 03, 2023Copper Contributor
Provisioning SiteScript generation changes causing errors in execution.
On Tuesday evening 4/25 after 6pm CST I noticed an error with power automate running the SharePoint HTTP control to call the API _api/Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScriptU...
AdamKB-Artelia
Jun 05, 2023Copper Contributor
Thanks all for the comments on this. Very helpful.
For those that have followed the blog step by step, I updated the final HTTP request body to the following:
{"script": "@{replace(replace(string(body('Parse_JSON')),'\','\\'),'"','\"')}"}
And saw sweet success.
For those that have followed the blog step by step, I updated the final HTTP request body to the following:
{"script": "@{replace(replace(string(body('Parse_JSON')),'\','\\'),'"','\"')}"}
And saw sweet success.
- phuegelJun 27, 2023Copper Contributor
thanks but when i try to change the name of the new list i dont get it worked
https://tomriha.com/change-the-name-of-sharepoint-list-from-template-with-power-automate/
replace(replace(string(setProperty(body('Parse_JSON')?['actions'][0],'listName', 'New list name')),'\','\\'),'"','\"')
working at yours ?
Thanks