pnp / sp-dev-site-scripts

Repository for sample SharePoint site designs and site scripts
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
MIT License
160 stars 68 forks source link

removeContentType on Folder, does not work. #74

Open KaylePB opened 6 months ago

KaylePB commented 6 months ago

Category

Expected or Desired Behavior

Should remove the content type from the menu and document library.

Using a Teams site as the base template.

Observed Behaviour

Content type has been removed from the document library, but the 'Folder' button is still showing in the document library menu.

image

Screenshot to show the content type is not in this site

image

Steps to Reproduce

Created a site script with the following included { "verb": "removeContentType", "name": "Folder" },

Template history shows the content type is being removed successfully

image