deleteSubobjectDynamicProperty
deleteSubobjectDynamicProperty(propertyName: String);
The deleteSubobjectDynamicProperty method of the JadeDynamicPropertyCluster class deletes a subobject dynamic property definition and any subobject instances that may exist for the class on which the cluster is declared and any subclasses. This allows for deletion of an exclusive dynamic property when there are instances of the parent class.
Subobject instances include:
-
Exclusive collection instances
-
Binary and StringUtf8 values for dynamic properties with a maximum length or a length greater than 540
-
String values for dynamic properties with a maximum length or a length greater than 539
As this method can result in a large number of objects being deleted, consideration should be given to calling this method in its own transaction.
Subobject dynamic property definitions and instances can be deleted only if the class in which it is defined is not being used by any other process. If production mode is set, a subobject dynamic property can be deleted only in single user mode.
2020.0.02 and higher