ankit arora
ankit arora

Reputation: 89

create a Folder Content type that automatically creates Sub Folders in the New Folder

Is it possible to create a Folder Content type that automatically creates Sub Folders in the New Folder created in the SharePoint Document Library ?

Upvotes: 0

Views: 894

Answers (1)

Thriggle
Thriggle

Reputation: 7059

As a developer, you can use Visual Studio to create a SharePoint project that adds your new custom content type to a site collection and also attaches an event receiver to the content type.

In the OnCreated event handler, you can include code that automatically creates subfolders whenever an item is created using your custom content type.

Upvotes: 1

Related Questions