ObjectsIdFormat: String;
ObjectsIdFormat: System.String;
The ObjectsIdFormat property determines identifiers format for repository objects.
By default the property is not assigned. The property is used to assign fixed prefix to objects identifiers. Automatically the fixed format part will be substituted in identifiers of all created objects and also will be specified in objects for which identifiers will be changed. It is necessary to use character "*" to determine altered part of identifier. For example: "ADMIN_*". By default an identifier is substituted instead *, this part may not be changed.
The property use provides the ability to avoid parameters interception while updating repository objects. If different prefixes assign in different repositories, the identifiers interception will not happen on updating.
On assigning formats the string is checked on detection of incorrect data (the Russian language, the first character - number, and so on). Incorrect format is not sent to a core and is not used to form objects identifiers.The IMetabasePolicy.IsObjectsIdFormatValid method is used to check the string on existence of incorrect data (the Russian language, the first character - number, etc.).
The property use is given in the example for IMetabasePolicy.IsObjectsIdFormatValid.
See also: