Unique Identifier Data Type

Within BS Skills a new Data Type, also known as CSType, was added, which creates a unique identifier. Such UUIDs are for practical purposes unique. Their uniqueness does not depend on a central registration authority or coordination between the parties generating them, unlike most other numbering schemes. While the probability that a UUID will be duplicated is not zero, it is close enough to zero to be negligible.

Thus, anyone can create a UUID and use it to identify something with near certainty that the identifier does not duplicate one that has already been, or will be, created to identify something else.

In the object editor the attribute type is displayed read-only:

Compatibilities

The attribute type

  • can obviously not be inherited

  • can be searched in the simple and extended search

  • can not be imported

  • can be language-specific

  • can obviously not be translated

  • can not be mass-edited

Creation of the identifier

The identifier will be created when the object is stored and the attribute is empty. This is, for example, the case when the object is created. Also when the attribute is created and assigned after the object was created, the identifier is created when the object is stored for the first time. If you need to add the attribute to an existing PIM base, consider a global checkout and check-in of all products to make sure, that the attribute is initialized properly.

Configuration

To create a new attribute of this type assign the attribute type “BS Unique Identifier”:

Format

When using this attribute type the format of the identifier can be selected in the field “Format”:

 

Currently, the following formats are available:

  • UUID Version 4 - randomly generated unique ID in version 4

  • Unique ID - a unique ID based on the micro time

The data type design allows extending this setting by additional formats on request.

Replace External Key

When the checkbox “Replace external key” is activated the External Key field will be updated according to this field.

Ignore Folder

When the checkbox “Ignore Folder” is activated, the identifier will only be assigned to end-nodes of the tree structure, for example, SKUs.