CentraSite 10.7 | CentraSite User’s Guide | Type Management | Managing Types through Command Line Interface | Creating a Virtual Asset Type
 
Creating a Virtual Asset Type
Pre-requisites:
To create a new virtual asset type through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
The new virtual asset type will be created with the following type options:
*Visible in Asset Browse
*Visible in Search
*Inherit Base Type Profiles
*Inherit Base Type Policies
*Inherit Base Type LCM
CentraSite provides a Java tool named AssetTypeManager.jar for this purpose.
*To create a virtual 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> create <virtual type name> <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.
virtual type name
Name of the new virtual asset type you want to create.
base type name
The fully qualified name of the existing base asset type.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd AssetTypeManager.jar http://localhost:53307/CentraSite/CentraSite Administrator manage create MyVirtualRESTService RESTService