custom Content Type for document library
-
14 февраля 2012 г. 4:52
Hi
I have a document library and i want to create a custom CONTENT TYPE for that. That custom Type will be named as 'NEW PROJECT' and it will create a bunch of folders every time it runs.
I know how to create a custom content type, what i want to know is how to write a code to create folders and sub folders (folders within folders) using that content type.
Best regards
SharePoint 2007 (Administration/Development) | Web developer and .NET DTS Programmer | .NET Framework 2.0/3.5 | SQL Server 2008/2005/2k
- Изменено aliusmankhan1 14 февраля 2012 г. 5:47
Все ответы
-
16 февраля 2012 г. 6:45Модератор
Hi aliusmankhan1,
Here is an article about that add subfloders when adding a new folder, you can check,
http://geekswithblogs.net/CalinTatar/archive/2009/06/07/automatically-add-sharepoint-subfolders-when-adding-a-new-folder-content.aspxOr you can create folders and subfolders using Web Service per this similar post,
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/eed7f25c-9095-4b75-b8df-215ed8639ce7/http://sridharu.blogspot.com/2008/10/createdelete-folers-using-listsasmx-web.html
Thanks
Daniel Yang
TechNet Community Support
- Помечено в качестве ответа Daniel YangMicrosoft Contingent Staff, Moderator 21 февраля 2012 г. 2:34

