-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:site-designCategory: Site Designs/Site ScriptsCategory: Site Designs/Site Scriptstype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Description
Category
- Bug
Describe the bug
Could not create new content type via SiteDesign. The error 'Parameter parentId references a resource that could not be found.' was thrown. It was working before.
Steps to reproduce
- Create json site script file with content:
{ "actions": [ { "verb": "createContentType", "name": "Test ct", "group": "Test group", "description": "", "parentId": "0x01", "hidden": false } ] }
- Add site script and site design
$siteScript = Get-Content 'test.json' -Raw | Add-SPOSiteScript -Title "Test content type"
Add-SPOSiteDesign -Title "Apply test content type" -WebTemplate "64" -SiteScripts $($siteScript.Id)
- Apply site design via UI or api
Expected behavior
Content type should be created without any errors
Metadata
Metadata
Assignees
Labels
area:site-designCategory: Site Designs/Site ScriptsCategory: Site Designs/Site Scriptstype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
