Updating Namespaces

The export includes the current parent of each included object, and the parent's current parent, and so on, up to the top-level Domain.

The export script checks if each parent object was itself imported—that is, has a record in the import archive table. If the current parent object was imported, it is included in the export with its original Company ID and Object ID. If the current parent was not imported, it is included using its current Company ID and Object ID. This ensures that each object is exported with its current object ownership hierarchy, even if some objects were originally imported and others were not.