Question

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?

Était-ce utile?

La 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

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top