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

How to increment the document reference (not version) as the document is uploaded. Pre populate the column, so that when the next document is uploaded it will automatically have incremented in order. Trying to streamline a process for easier referencing/ease of searching.

share|improve this question
up vote 1 down vote accepted

Implement and deploy an event handler to automatically populate the “Unique ID” with a system-generated GUID after any “itemAdded” or "itemAdding" event using a feature.

“Unique ID” is a column of type “Single Line of Text” that will contain the a unique identifier for the document

Check this blog post out for detailed steps of doing it.

However in SharePoint 2010 its way easier all you have to do is Activate the Document ID site collection feature.

share|improve this answer
Thank you, that's what I was looking for. – James Carter Apr 23 '13 at 12:04

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.