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?

有帮助吗?

解决方案

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

其他提示

Try recycling the application pool for the webapplication you are deploying to instead of restarting the server.

This is a standard part of deployment, so your powershell script should be modified to do this.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top