Solved

SharePoint 2007 Lists - Generating unique numbers

Posted on 2011-03-24
3
609 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
onenote 2016 sync 40 211
Failed to upgrade SharePoint Products 8 55
SharePoint Online/365 with SAP API 2 67
Summing up list items in SharePoint online and a bit more 5 51
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…

914 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

12 Experts available now in Live!

Get 1:1 Help Now