SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question
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

share|improve this answer
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

Your Answer


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.