Specifying an Alternate Initial Revision Label
When a new object is created, the system automatically selects the initial revision label in the series by default.
If the new object that is created uses file-based or state-based versioning, the first label in the series is used for the initial version; however, you can specify an alternate label for this initial revision label.
To specify an alternate initial revision label, add the following attribute to the value tag of the desired initial revision label:
initialRev="true"
You can have only one value tag in the series with the initialRev=”true” attribute.
For example, assume you have the following series defined:
<?xml version="1.0" encoding="UTF-8"?>
<scheme>
<series name = "name1">
<seed name = "seed_name1">
<value>P1</value>
<value>P2</value>
<value>P3</value>
</seed>
</series>
</scheme>
To specify in the previous series that the initial revision of a new object use P2 instead of P1, add the initialRev=”true” attribute to the value tag for P2, as follows:
<?xml version="1.0" encoding="UTF-8"?>
<scheme>
<series name = "name1">
<seed name = "seed_name1">
<value>P1</value>
<value initialRev="true">P2</value>
<value>P3</value>
</seed>
</series>
</scheme>
¿Fue esto útil?