List Column that auto-increments from 100,000
-
08-02-2021 - |
Domanda
One of our employees wants to have a column in his list that autoincrement from 100,000. I tried to use "ID" column, then create a "calculated" column that adds 100,000. That didn't help; id populates after item is generated. Then I found an article telling me to use sharepoint workflow. But I can't seem to find where it is. The article also suggests to use Sharepoint Designer, but that thing hasn't been upgraded since 2013.
Does anyone know how to generate a column like this?
Soluzione
We can achieve this using the SharePoint designer workflow.
Here are the steps to create an auto-incrementing number field in a SharePoint list designer workflow:
- Create a new column, such as : Increment Number in issue list with Number type. Make this column hidden in a view.
- Create another column, such as : Issue No. in issue list with Formula type and add the following formula = “100000” & [Increment Number]. This Column will show the increment items’ numbers in the list.
- Open SharePoint designer, create new list workflow (for issues list).
- Add a workflow action: “Update list Item” >> Current Item >> Add >> Set this field to your Target field (Increment Number), set value from Current Item:ID field.
- Set the workflow start option to “Start Workflow automatically when an item is created”.
- Save and Publish the workflow.
For detailed steps refer the below:
How to Create an Auto-Incrementing Number Field in a SharePoint List