CloneSettings Properties |
The CloneSettings type exposes the following members.
Name | Description | |
---|---|---|
AfterCloneInsertCallback |
Handles actions right after inserting the clone object.
| |
AfterCloneStructureInsertCallback |
Handles actions after processing main object and all the child, binging, site bindings, ... etc. objects.
| |
AssignToSiteID |
If object has SiteBinding than a binding for given site is created after the object is cloned.
| |
BeforeCloneInsertCallback |
Handles actions before inserting the clone. Use to further modify given object according to settings.
| |
CloneBase |
Gets or sets the root object - the object the cloning procedure was called on (for example when cloning country with states, in the states the root object will be still the country).
| |
CloneToSiteID |
ID of the site to clone the object to. Only for site objects. If this value is 0, object will be cloned under the site of the original object
unless the object type has SupportsGlobalObjects = true. In that case, 0 means that an object is cloned as a global object.
| |
CodeName |
New code name. If null, automatically generated unique code name is generated.
| |
CustomParameters |
Hashtable with custom parameters (for special cases such as BizForms, CustomTables, Webparts, etc.) where additional operations have to be done.
| |
DisplayName |
New display name. If null, automatically generated unique display name is generated.
| |
ExcludedBindingTypes |
Gets or sets the list of binding object types which should not be cloned, if null than all child object types are cloned.
| |
ExcludedChildTypes |
Gets or sets the list of child object types which should not be cloned, if null than all child object types are cloned.
| |
ExcludedOtherBindingTypes |
Gets or sets the list of other binding object types which should not be cloned, if null than all child object types are cloned.
| |
IncludeBindings |
If true, binding objects are included in the result.
| |
IncludeChildren |
If true, child objects are included in the result.
| |
IncludeMetafiles |
If true, metafiles of the object are included in the result as well.
| |
IncludeOtherBindings |
If true, other binding objects are included in the result.
| |
IncludeSiteBindings |
If true, site binding objects are included in the result. This setting is applied only when IncludeBindings is true.
| |
KeepFieldsTranslated |
If true, cloned object will keep all the fields which use localization macros {$res.string$} without change.
If false, cloned object will replace the localization with its translation in the default culture.
This setting does not influence DisplayName - this will be always replaced by its translation.
| |
KeepOriginalSiteID |
If true, CloneToSiteID is ignored and SiteID of the original object is kept.
| |
MaxRelativeLevel |
Determines maximal level of the relationship (parent-child). -1 means all levels, 0 means no child objects, 1 means first level of children, etc.
| |
Parameter |
Custom parameter passed within the settings (for handlers usage, etc.).
| |
ParentID |
ID of the parent object to which the cloned object should be assigned.
| |
Translations |
Gets or sets the translation helper object (always at least empty instance, cannot return null) which provides translation Original object ID -> Cloned object ID.
|