Environment: On premises only General InformationThis opening ID is invoked before creating a new version of a component.The table below provides you with information related to the definition of the Opening ID.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following sample shows you how to check that the object has no children. /*The following rule is an example of what can be done*/ /* ----------------- */ /* Declare */ /* ----------------- */ let ListInstance (List) let ListInstanceSize (Integer) /* ----------------------------------------------------------------------------- */ /* By default, we validate the operation */ /* ----------------------------------------------------------------------------- */ Validation = true /* ----------------------------------------------------------------------------- */ /* If the object has at least one child, the clone is not allowed */ /* ----------------------------------------------------------------------------- */ ListInstance = ThisObject.Children ListInstanceSize = ListInstance.Size() if ( ListInstanceSize > 0 ) Validation = false |