In theory you could achieve this by associating an event handler with your 
document library. Then in the event handlers ItemAdded event you could 
determine the type of folder that was created (from what you said this could be 
based on content type) and then go and create the appropriate sub folders based 
on info stored elsewhere (perhaps in a list?)

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main:     02 6225 4333
Mobile:   0408 289 303
Fax:      02 6225 4334
Email:    [email protected]<mailto:[email protected]>
Web:     www.uniqueworld.net<http://www.uniqueworld.net>
Blog:     pointstoshare.spaces.live.com<http://pointstoshare.spaces.live.com/>

Microsoft Certified Application Developer
________________________________
From: [email protected] [[email protected]] On Behalf Of Bing Bao 
[[email protected]]
Sent: Wednesday, 4 February 2009 4:54 PM
To: OZMOSS
Subject: Automatic, customisable folder type in Document Library

Hi OZMOSS Gurus

I would like to create such an automatic, customisable folder type for an 
existing Document Library: every time I create a new folder in the document 
library, WSS/MOSS can create a specific set of sub-folders under this folder 
according to my predefined template.

Say I create a new folder in the document library, then the system will 
automatically generate three more sub-folders under this folder such as 
“Draft”, “Final”, and “Archive”.

I prefer using a folder-based Content Type for implementing this. Actually I 
have already created such a Content Type named “Project Folder”, so I could use 
Document Library’s “New-  Project Folder” drop-down menu to create a new folder 
with several customised fields for this folder type, e.g. “Due Date”, “Status”, 
and “Manager”.

Any possible solution?

Any comments are welcome. Thanks a lot.

Regards,
Bing Bao

IMPORTANT NOTICE TO RECIPIENT

Computer viruses - It is your responsibility to scan this email and any 
attachments for viruses and defects and rely on those scans as Communications 
Design & Management Pty Limited (CDM) does not accept any liability for loss or 
damage arising from receipt or use of this email or any attachments.

Confidentiality - This email and any attachments are intended for the named 
recipient only and may contain personal information, be it confidential or 
subject to privilege, none of which are lost or waived because this email may 
have been sent to you in error. If you are not the named addressee please let 
CDM know by return email, permanently delete it from your system and destroy 
all copies and do not use or disclose the contents.

Copyright - This email is subject to copyright and no part of it maybe 
reproduced in any manner without the written permission of the copyright owner.

Privacy - Within the jurisdiction of Australian law, personal information in 
this email must be dealt with in compliance with the Australian Federal Privacy 
Act 1988.


________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to