Desktop version

Main > Knowledge Base > Best practices > Creating and changing metadata objects > Data storages > Deleting obsolete metadata objects from configurations > Best practices > Creating and changing metadata objects > Data storages > Deleting obsolete metadata objects from configurations > Best practices > Creating and changing metadata objects > Data storages > Deleting obsolete metadata objects from configurations

Deleting obsolete metadata objects from configurations

This article describes the standards that apply to delete obsolete metadata objects. All of the listed recommendations are mandatory unless noted otherwise.

1. While changing configuration metadata structure, when you delete a metadata object (attribute, dimension, resource, and so on) related to Infobase data, you have to decide whether you simply delete its data or migrate it to some other data structures. We recommend that you follow these recommendations when migrating object data:

1.1. Do not delete obsolete metadata objects and attributes permanently. Instead, mark them as obsolete by adding the Delete prefix to their names. Example: rename MainAgreement to DeleteMainAgreement. We recommend that you add the prefix (not used) to the object or attribute synonym, for example: (not used) Main agreement. If a standard attribute becomes obsolete, also add the (not used) prefix to its synonym.

1.2. Once you have changed the metadata structure, transfer the data from the obsolete attributes to the new metadata structure. If the metadata object that is subject for deletion is a document that generates register records and the related registers are not deleted together with the document, ensure that the register records are preserved. We recommend that you do the following to preserve the register records generated by obsolete document objects:

1.3. Since using obsolete metadata objects and attributes after changing metadata structure is not a proper procedure, replace all occurrences of calling obsolete objects by calling new ones in the entire configuration.

1.4. Sort obsolete metadata objects and attributes in the metadata tree according to common configuration requirements.

Following these rules ensures that existing Infobase records are no longer related to obsolete metadata objects and prevents the generation of new Infobase records related to these objects.

2. When a new configuration version is released, permanently delete obsolete metadata objects and attributes marked with the Delete prefix if at least one of the following conditions is met:

Next page: Delivering data in configuration packages




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.