Setting Naming Rules for Model Versions and Back-Ups
Set verification expressions and name schema when creating successor versions and back-ups to ensure versions and back-ups have the same name.
Prerequisites
You require a suitable version rule for your model's name when editing properties of a managed model.
Context
Set regular verification expressions and name schema when creating successor versions and back-ups to ensure versions and back-ups have the same name.
Restriction
Name rules for versions and back-ups must correspond with the version rules in the user management. Otherwise you may not be able to start created versions and back-ups.
Verification expressions are regular expressions which must fulfill the name of new model versions and back-ups. The wizards check that regular verification expressions have been adhered to when a version or back-up of the managed model is created.
Name schemata form the template for renaming new versions or back-ups in the wizards so they can be created.
You can use placeholders for date, model, version context and user for name schemata.
- Date: $(YYYY), $(YY), $(MM), $(DD)
- Time: $(hh), $(mm), $(ss)
- Name of the respective managed model: $(Model.Name)
- Name of the model version; the subversion, successor version or back-up is created using it: $(Source.Name)
- "Obvious" user name: $(User.Name)
- "Technical" user name: $(User.LoginName)
These placeholders are resolved in the name field for the version or back-up in the wizards.
The name suggestion should satisfy the verification expression so that the suggested name is valid.
Example of use for placeholders:
-
$(Source.Name)
Initially from source version: "1.0". Easy to change to "2.0" (Same Level) or "1.1" (Subordinate Level).
-
$(YY)-$(MM)-$(DD)-$(hh)-$(mm)
Back-ups are sorted in ascending order.
How to proceed
-
Select the managed model with the name rule you want to set in the Managed Models tab in the version tree.
-
Select View>View>Edit Properties.
The properties of the model version appear in the workspace.
-
Jump to the Naming Rules section.
-
To set a Check expression for version or back-up names for the managed model, enter a regular expression which defines the permissible name in the for versions or for backups fields.
-
To set a Naming proposal for version or back-up names for the managed model, enter a name suggestion which corresponds to the verification expression in the for versions or for backups fields.
You can use placeholders; these can be resolved and overwritten in the name field in the wizards for the version or back-up.
-
Click on Apply bottom right to adopt the name rules.
The name rules apply to the new versions or back-ups for the managed model.