Solved

SharePoint 2007 Lists - Generating unique numbers

Posted on 2011-03-24
3
616 Views
Last Modified: 2012-05-11
Hi ....Help!  I have a problem with trying to generate a unique ID as a 'Project Number' in SharePoint.  I have used the 'Calculated' column option in a list in sharepoint 2007 which uses the automatically generated ID column coupled with another column.  The calculation i am using is '=[Building Code]&ID'.  This works once but then on subsequent entries does not return the ID number.  If you go back in and edit the list and resave it then automatically updates the entry (so this means manual intervention which does not make sense).  Does anyone have any ideas on how to make this work or other ideas on how to generate a unique ID in sharepoint?

for example CG1234 (eg CG being the building code and 1234 being the ID field)
0
Comment
Question by:SpaceManagers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Expert Comment

by:GeorgeGergues
ID: 35206501
this is not really the best way , but you are on the correct track.

Use SharePoint designer to build a workflow to set a column value with that string

that is the best way to do it , to avoid concurrency.

Best of luck.
0
 
LVL 9

Expert Comment

by:kukdai
ID: 35211163
i would prefer to creat a column autopopulate with the current date and time writing some javascript that will make the column unique all the time.
let me know if you need a sample
0
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 500 total points
ID: 35214091
that does not set a true value for the item in the list .

That will only show a value not attached to the tiem .

I am afraid the only solution I offered is the only way I know off.


Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question