You are here:
Create New Versions of Object Types
Use Product Designer to track changes to object types. For example, you can track changes whenever you add a new Attribute Assignment to an ObjectType or make an existing AttributeAssignment inactive. You can also add or remove Product2 fields to or from an ObjectType.
Versioning is supported for these types of objects:
-
Product2 objects
-
ObjectClass__c (Object Type)
-
Picklist__c
Every versioned object supports multiple draft versions and multiple released versions. By default, a draft is a copy of the latest released version. But you can change the draft version to any version for editing. You can delete draft versions, subject to validations. To change a released version of an object type, create a new version and apply your changes to it.
- On the Products tab, click Vlocity Objects and Object Types.
-
Click an object, such as the Product2 object.
Any object related to Product2 can be versioned.
- In the Object Type list, click the + (New Version) button for an object type, for example, beside Installation Kit Parent Class Obj Type.
-
In the New Version dialog, enter a version label and click Save.
A new version of the object type is created with a Lifecycle Status of Draft. The new version of the Object Type appears as a new row in the Object Type column with the version number beside it.
For details on which associated objects are cloned or reused, see Versioning and EPC Entities.
- In the new version, make any changes to the General Properties and Effectivity dates on the Details tab, and make any changes to the properties, fields, and attributes on the Layout Management tab.
-
To map an object type version to one or more products simultaneously, click
Map Version.
-
To set an object type's lifecycle status to Released, click the Release icon.
Before you release an object type, check these items to avoid validation errors:
-
You must release the parent object type before you can release the current object type, except if the parent is Product2 Object. Product2 Object is not meant to be released.
-
You must release any associated unreleased picklists through the Attribute Assignments unreleased picklists.
-
- Map Object Type Versions to Products
Product designers can change the object type version for multiple products simultaneously without going to the DETAILS tab of every product in Product Designer. Object type version mapping creates new versions of products if the selected products are in the Released state. If the selected products are in the Draft status, you can update existing product versions or create new product versions. The map version capability is available only in Vlocity Product Designer. - Object Type Version Mapping to Products Using Apex
Propagate object type version changes to multiple products by running Apex code in the developer console.

