sharepointpowershellcontenttype

My SharePoint Content Type does not appear


I have a little problem here. I'm working on a sharePoint solution which contains some content types. To deploy my solution on the Web Application, i use a handmade powershell script.

The solution deploys correctly. The problem is that the content type does not appear when i search them with powershell, but they appear in the site collection's content type menu.

The only way i found to make them appear with powershell is to restart the server. Have anyone already been through that problem?


Solution

  • The problem was that the list already had its schemaxml. To modify this schemaxml with a new one, i had to create a new list