troubleshooting Question

MS SharePoint 2013: Concatenated Incrementing Serialization using Calculated Field

Avatar of jalongoria
jalongoriaFlag for Germany asked on
Microsoft SharePoint
9 Comments3 Solutions278 ViewsLast Modified:
All,

Having an issue I can't seem to resolve. I have a SharePoint list I've established that functions as a living log. The purpose is to issue a basic tracking number (six-character prefix+digit combination) and some basic details about execution for backtracking in an audit.

I have established a calculated column called "Order", using the 'single-line-of-text' data type with the following entered in the 'Formula' field:

=CONCATENATE("TCB",REPT("0",3-LEN(ID+1)),ID+1)

The purpose is to serialize, automatically, the tracking number issued based on the ID generated by SharePoint for the line entry.

Unfortunately, the column is generating unexpected behavior. Instead of incrementing the order number by one digit, it merely keeps repeating the same digit with every line entry upon clicking "Save".

That is to say, instead of a sequential list of:

TCB001
TCB002
TCB003
TCB004

Instead, I receive:

TCB001
TCB001
TCB001
TCB001

On every single line item entry. Does anyone know where the flaw may lie? Thank you.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 3 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros