Creating an Asset Type
Pre-requisites:
To create an asset type definition through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a Java tool named AssetTypeManager.jar for this purpose.
The new asset type is created by cloning an existing base asset type.
To create an asset type
Run the Java tool AssetTypeManager.jar. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd AssetTypeManager.jar <CentraSite URL> <admin user id> <password> clone <base type name> <clone base type name>
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 | Name of the new asset type you want to create. |
clone base type name | The fully qualified name of the existing base asset type that you want to clone. |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd AssetTypeManager.jar http://localhost:53307/CentraSite/CentraSite Administrator manage clone MyRESTService RESTService