Tuesday, October 6, 2009

Elements.xml file for creating folders inside document library

Below is the sample elements.xml file content for creating folders inside document library through features


<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"><Module Path ="Client Supplies" Url ="Requirement/Client Supplies" />
<Module Path ="Functional Requirements" Url ="Requirement/Functional Requirements" />

</Elements>


Please note that, like this any level of nested folder structure can be created. (Url = "Docs/FirstLevel/SecondLevel/ThirdLevel"

No comments:

Post a Comment