SharePoint Document Library Definition XML Guide (Schema.xml)

Versioning Settings

Create a version each time you edit a file in this document library?
<List [...] VersioningEnabled="TRUE" EnableMinorVersions="FALSE"  >[...]</List>

Advanced Settings

Allow management of content types?
<List [...] EnableContentTypes="TRUE" >[...]</List>
Default open behavior for browser-enabled documents
<List [...] DefaultItemOpen="PreferClient" >[...]</List>
<List [...] DefaultItemOpen="Browser" >[...]</List>
Dialogs (Launch forms in a dialog)
<List [...] NavigateForFormsPages="FALSE" >[...]</List>

Validation Settings

Set Validation Formula for the List
<List [...]>
        <Validation Message="Message for the Validation">
          =IF(InternalFieldName=&quot;ValueOfTheField&quot;,FALSE,TRUE)      [FORMULA]
NOTE: Always with the internal name of the fields and the symbols coded (Like &quot;, &lt;, &gt;)


No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.