Professional Documents
Culture Documents
using workflow.
This operation are all done using SharePoint Designer. No coding at all.
1. Create new column in list that you want to receive auto increment
numbers.
Set its default value to (Auto) or (Do not fill this out it is Auto Increment!)
or just leave it blank, and hide it in Adding.aspx form.
TicketID
AnotherID is same as TicketID and is used for other purpose you will see below
why.
LastNumber
NextNumber = Lastnumber + 1
You may be extended with creating complex value for TicketID like:
LNA2014-0000105
Just combine other columns or constants with NextNumber value for generating
it.
=CONCATENATE("LNA",YEAR(Modified),"",LEFT("000000",6(LEN(TEXT(mNumber,"0")))),TEXT(mNumber,"0"))