CentraSite 10.3 | CentraSite User’s Guide | Type Management | Managing Types through Command Line Interface | Cloning an Asset Type
 
Cloning an Asset Type
Pre-requisites:
To clone an existing base type and create a new asset type through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a Java tool named AssetTypeManager.jar for this purpose.
*To clone an asset type
*Run the Java tool AssetTypeManager.jar.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd|sh AssetTypeManager.jar <CentraSite URL> <admin user id> <password> clone <base type name> <clone base type name> <clone base type namespace>
The input parameters are:
Parameter
Description
CentraSite URL
The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
admin user id
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
password
The password for the CentraSite user identified by the parameter admin user id.
base type name
The name of an existing base type you want to use to clone a new asset type.
clone base type name
The name of the new asset type to be cloned.
clone base type namespace
The namespace of the new asset type to be cloned.
The namespace must be in the following format:
http://namespaces.AssetTypeName.com
Where, AssetTypeName is the name of the new asset type to be cloned.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd AssetTypeManager.jar http://localhost:53307/CentraSite/CentraSite Administrator manage clone Service ClonedService http://namespaces.ClonedService.com