Solved

SharePoint 2007 Lists - Generating unique numbers

Posted on 2011-03-24
3
605 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
  • 2
3 Comments
 
LVL 14

Expert Comment

by:GeorgeGergues
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
This collection of functions covers all the normal rounding methods of just about any numeric value.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now