SharePoint Diva

December 24, 2008

Setting the Document Library “New Folder” default to False

Filed under: Uncategorized — sharepointdiva @ 4:28 pm

How to make the default of ‘Display “New Folder” command on the New menu’ equal to No instead of Yes.

Modify the DocumentLibrary.xml in the 12 Hive (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\DocumentLibrary\ListTemplates)

<?xml version=”1.0″ encoding=”utf-8″?>

<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”>

<ListTemplate

Name=”doclib”

Type=”101″

BaseType=”1″

OnQuickLaunch=”TRUE”

    FolderCreation=”FALSE”

SecurityBits=”11″

Sequence=”110″

DisplayName=”$Resources:core,doclibList;”

Description=”$Resources:core,doclibList_Desc;”

Image=”/_layouts/images/itdl.gif”

DocumentTemplate=”101″/>

</Elements>

Perform an iisreset to activate.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.