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

Content Types doesn't appear on library after Script Run. #7

Open joaojmendes opened 6 years ago

joaojmendes commented 6 years ago

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

Expected or Desired Behavior

I create create a Site Script that creates a Site Columns, Content Types , A Doc. Lib. with the Content Type created before.

After run, I Navigate to Document Library Page Settings and the Content Type that are associate to the library don't appear...

I notice that the property "Allow Content Types" is off in library, after switch to on the content type appear in the list of content type associated to the library.

I think this is a bug.

Steps to Reproduce

Create Site Columns , Content Type and a Document Library with the Content Type and after go to Library Settings Page to see if the content type appear in the list os content types of library.