SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like tu turn off attachments in my custom list definitions. In order to do that, I specified DisableAttachments="TRUE" whenever it was possible: in list definitions Schema.xml and in Elements.xml, but I still see the Attach file button on the ribbon and still can attach files. What am I missing here?

share|improve this question
up vote 4 down vote accepted

You can use DisableAttachments="TRUE" on the top of Schema.xml and you should be good to go:

For e.g.

<List Title="Test List" Description="Test desc" Direction="0" BaseType="0" Url="Lists/TestList" DisableAttachments="TRUE" FolderCreation="FALSE" Version="8" Type="100" xmlns="">
share|improve this answer

Is your list being created by a list instance deployed alongside the list definition?

If so, the list instance can override the definition properties.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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