I have deployed some lists and libraries with a feature in visual studio to my on-premise Sharepoint environment.

Whent user uploads a document to a document library, he can change the content typ in a dropdown. Where do I deactivate this in my Visual Studio code?


1 Answer 1


In library Schema.xml you can left only your content type in ContentTypes section and remove others.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.