Methods for populating and migrating custom object data
Key Takeaway
Define a custom object type in Business Manager, then fill it with data by hand, in code, or by XML import. An import in Update mode changes only objects that already exist, so it never creates new ones.
A custom object stores data that doesn't fit an existing system object in B2C Commerce. Setting one up has two parts. First you define the custom object type, and then you create the instances that hold the actual data. You can create and move that data by hand in Business Manager, in B2C Commerce JavaScript, or through XML import and export. Each XML import runs in a mode, and the mode decides which objects and attributes the import changes.
Custom object types and instances
You must use Business Manager to define a custom object type, under "Administration > Site Development > Custom Object Types". After that, you can create the data in Business Manager, in B2C Commerce JavaScript, or with import pipelets.
Every custom object type has a key attribute, which stores a unique key for each object of that type. B2C Commerce also automatically adds three system attributes that store system data: UUID, creationDate and lastModified. You can't remove these system attributes.
The type definition is always available to the whole organization, which means all sites. Each instance can be stored globally for the entire organization or locally for one site.