Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to create an event handler for a document library that will give custom Id's to documents and folders in it. The top folders will be prefixed with capital letters, folders and documents in second level folders will be prefixed with numbers, etc.

I want to know if something like this is developed by someone before so I can start using it immediately.

Thanks.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

If you are running SharePoint 2010 you can enable document ID feature to get functionality that resembles what you mention.

You can even roll your own Document ID provider with custom syntax

http://www.zimmergren.net/archive/2010/04/13/sp-2010-sharepoint-server-2010-creating-your-custom-document-id-provider.aspx

http://msdn.microsoft.com/en-us/library/ff521589.aspx

share|improve this answer
1  
Not so different from event receivers but I think Document ID providers are more aligned with SharePoint development in general. –  Élodie Petit Oct 20 '11 at 11:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.