This article describes how to create and use cross-site sequences to generate unique numbers for SharePoint documents and list items.

Introduction

The Vitextra Number Generator lets you set up sequences for generating unique numbers.

All Vitextra sequences are stored in a generic SharePoint list located on the root web of the site collection.

Prerequisites

To set up and use sequences, make sure the Vitextra: Number Generator feature is activated at the site collection level.

Go to Site Settings and click Site collection features:

SharePoint site settings

SharePoint site settings

Scroll down to the feature and click Activate if it isn't activated yet:

Number Generator site collection feature

Number Generator site collection feature

Create Sequence

On the root web of the site collection where you want to use sequences, go to Site Contents and open the Numbering Sequences list:

SharePoint site contents

SharePoint site contents

Click New Item:

Sequences list

Sequences list

Each sequence has the following attributes:

  • Name - used to reference the sequence in numbering schemes.
  • Initial Value - the value the sequence starts from.
  • Step - the value by which the sequence increments.
  • Start Over - the rule for resetting the sequence to its initial value.

❗ Important
The name of the sequence is the only way to reference it in a numbering scheme.

Start Over Options

There are four options for the rule that resets the sequence:

  • Monthly - reset the sequence on the first day of each month.
  • Quarter - reset the sequence on January 1, April 1, July 1, and October 1.
  • Yearly - reset the sequence on January 1.
  • Never - the sequence is never reset.

The default option is Never.

Enter the field values and click Save to create the sequence.

New sequence form

New sequence form

Once the sequence is created, you can use it in a numbering scheme.

Create Numbering Scheme

To create or modify a numbering scheme, open the list or document library where you want automatic numbering and go to its settings.

Click Number Generator under the General Settings heading:

SharePoint document library settings

SharePoint document library settings

In the list of existing schemes, click New Item:

List of existing numbering schemes of the list/document library

List of existing numbering schemes of the list/document library

Enter a name for the new scheme and choose the field where Number Generator will write the value.

New numbering scheme form

New numbering scheme form

To use a sequence in a formula, reference it by typing its name with a ! prefix:

[!Unique Document Number:00000]

The ! character indicates a sequence reference, and :00000 means the number must be five characters long. For more about formatting, see the Format Column or Sequence Value in Numbering Scheme article.

Click Save to create the scheme.

💡 Tip
You can include any text you need in the formula. Number Generator does not modify it.

Create schemes for any other lists and libraries where you want to use the sequence for numbering.

Uploading Documents

Once the scheme is set up, you can create new list items or upload documents. Number Generator automatically populates the column with the sequence value.

Auto-populate column on document uploading to SharePoint library

Auto-populate column on document uploading to SharePoint library

Questions and answers

Ask a question about this article and get an official answer from our team.

No questions yet. Be the first to ask.

Featured Articles

How to Name a Substitute When You Request Time Off

Learn how to choose a substitute in an absence request in the Vitextra My Absences web part: when the substitution is created, why the colleague has to confirm it, what happens if the request is rejected or cancelled, and how it differs from assigning a substitute in the Substitutions web part.

82 4 min
Why Is Someone Missing from the Organizational Chart?

A troubleshooting checklist for employees who do not appear in the Vitextra Organizational Chart: default exclusions for unlicensed accounts and blank job titles, disabled accounts, guest users, a missing manager in Microsoft Entra ID, filtered-out managers, collapsed levels and the 12-hour data cache.

105 8 min
Attaching Files to Topics and Replies

How to attach files to topics and replies in Vitextra Discussions: picking files before you post, adding and removing attachments on an existing post, who can manage them, where SharePoint stores them (list item attachments of Discussions Topics and Discussions Posts), file name rules and the difference between attachments and inline images.

28 6 min

Share