You can delete a dynamic item type by removing the associated das_gsa_dynamic_type
item. However, before you can remove a das_gsa_dynamic_type
item, you must first delete all assets of the dynamic item type generated from it. For example, deleting the das_gsa_dynamic_type
item that the electricalProduct
dynamic item type is generated from requires two steps:
In an ATG Content Administration project, delete all of the
electricalProduct
items. Deploy the project and check in the changes.In a separate ATG Content Administration project, remove the
das_gsa_dynamic_type
item that theelectricalProduct
dynamic item type is generated from. Deploy the project and check in the changes.
The following example deletes the das_gsa_dynamic_type
item that the electricalProduct
dynamic item type is generated from:
<gsa-template> <remove-item item-descriptor="das_gsa_dynamic_type" id="electricalProduct"></remove-item> </gsa-template>
Any subtype-specific properties of the deleted subtype, and any child subtypes, must be deleted as well. Therefore the corresponding das_gsa_dynamic_type
and das_gsa_dynamic_prop
items are automatically added to the project for removal. For example, if you remove the das_gsa_dynamic_type
item used to generate the electricalProduct
item type, the das_gsa_dynamic_prop
item used to generate the voltage
property is removed as well. Similarly, if you delete a dynamic item type or property, any das_gsa_dynamic_attr
items associated with the type or property are automatically added to the project for removal.
If you delete a dynamic property, any existing data for the property will not be accessible. However, the data for the property remains in the backing map tables. To free up storage space, you may want to delete the data for the property. You can use the identifier string in the backing map tables to determine which rows to remove. See Backing Map Tables for information about the identifier string.