CentraSite Documentation : CentraSite Administrator’s Guide : Object Type Management : Creating a New Type : Creating a New Type
Creating a New Type
You use the Add Asset Type wizard to specify the properties and options for a new asset type.
To create a new type
1. In CentraSite Control, go to Administration > Types.
2. On the Types tab, click Add Asset Type to open the Add Asset Type wizard.
3. In panel 1, complete the following fields:
In this field...
Do the following...
Name
Enter a display name for the type. Choose a name that your users will recognize and understand. For example, use BPEL Process Document, not bpdoc.
The name you assign to the asset type can contain any character, including spaces. However, if you specify a name that does not conform to the NCName type, you must click Advanced Settings and specify a name that is NCName conformant in the Schema Name field.
Note:  
If the name that you assign to the asset type is NCName conformant, except that is includes spaces, it is not necessary to explicitly specify the type's schema name. CentraSite automatically replaces space characters with the _ character when it generates the schema name for an asset type.
Description
Optional. Enter a brief description of the type.
4. Click Advanced Settings and complete the following steps as necessary.
a. Verify that the schema name and the namespace name that were generated by CentraSite are valid.
In this field...
Do the following...
Schema Name
Verify that the schema name that CentraSite generated for this asset type is NCName conformant.
CentraSite automatically populates this field with a name that is derived from the asset type name that you specified in the previous step. For example, if your asset type name is My Asset Name, CentraSite automatically populates this field with My_Asset_Name.
If the schema name generated by CentraSite does not meet the following criteria, you must specify a name that does.
*The name must begin with a letter or the underscore character (_).
*The remainder of the name can contain any combination of letters, digits, or the following characters: . - _ (that is, period, dash, or underscore). It can also contain combining characters and extender characters (for example, diacriticals).
*The name cannot contain any spaces.
Additionally, the type's fully qualified schema name must be unique among all types in the registry.
Note:  
You cannot change the schema name after the type is created.
Namespace
Modify the namespace that CentraSite has proposed for the type if necessary. By default, CentraSite generates the namespace in the following form:
http://namespaces. OrganizationName .com/Schema
Where, OrganizationName is the name of your organization.
The Namespace value is used to qualify the name specified in Schema Name. Together, the Schema Name and Namespace values produce the type's fully qualified name. This name must be unique within the registry.
You generally do not need to modify the namespace that CentraSite proposes for a type. In most cases, the proposed namespace will be adequate. However, you might modify the namespace if you want it to include the name of a different organization or if you need to resolve a naming conflict between this type and an existing type.
Note:  
You cannot change the namespace value after the type is created.
b. If you want to use a custom icon to represent this type in the user interface, upload large and small versions of the icon as described below.
Note:  
If you do not specify a custom icon, CentraSite assigns the default icon to the type.
In this field...
Do the following...
Large Icon
Optional. Specify the large icon that is to be used to represent this type. CentraSite Control uses this icon when it displays the details for an instance of the type.
If you want to use a custom icon, click the Browse button and upload the file containing the large version of the icon to CentraSite. The icon must be in GIF format. To ensure proper alignment when it is displayed in the user interface, the icon must be 64 x 64 pixels in size.
Small Icon
Optional. Specify the small icon that is to be used to represent this type. CentraSite Control displays this icon when instances of the type appear in lists or summary tables.
If you want to use a custom icon, click the Browse button and upload the file containing the small version of the icon to CentraSite. The icon must be in GIF format. To ensure proper alignment when it is displayed in the user interface, the icon must be 16 x 16 pixels in size.
c. Complete the type-specific options as follows:
Enable this option...
To...
Visible in Asset Browse
Allow instances of this type to be displayed in the catalog browser. When you enable this option, CentraSite Control includes the type in the Asset Types pane on the Asset Catalog > Browse page. When you disable this option, CentraSite Control omits the type from the Asset Types pane so users cannot browse for instances of the type.
Enable reports
Allow reports to be generated against instances of this type.
Policies can be applied
Allow user-defined design/change-time policies to be created and enforced for instances of this type.
Note:  
If you disable this option, CentraSite will not apply any user-defined design/change-time polices to instances of the type, even in cases where the policy is designed to execute against all asset types.
Note:  
This option does not apply to system policies. CentraSite will apply system policies to instances of the type whether this option is enabled or not.
Require Consumer Registration
Require users to register an application when they submit consumer registration requests for assets of this type.
Enable versioning
Allow users to generate versions of instances of this type. When you disable this option, CentraSite disables the Add New Versions command and omits the Versions profile from instances of this type.
Top Level type
Allow users to create instances of this asset type "from scratch." When you enable this option, users are allowed to create instances of the type using the Add Asset button in CentraSite Control.
Generally you disable this option for types that are constituents of other assets, or for types that are only meant to be added to the registry by an importer. For example, the Operation type is used to represent an operation that belongs to a Web service. Operations are derived automatically from the service WSDL. They are not intended to be manually defined by users. Therefore, the Operation type is not designated as a "top level type".
Enable Lifecycle Management
Allow a lifecycle model to be applied to assets of this type.
Visible in Search
Allow users to define a search for this particular type. When you enable this option, CentraSite Control includes the type in the Types list on the Advanced Search page. Including a type in this list enables users to define queries that select on that specific type.
Note:  
If you change the state of this option and then do an advanced search, you might need to refresh the Advanced Search page to see the change reflected in the Types list.
d. If you want to specify asset types that can consume instances of this asset type, specify the consumable asset types as described below.
a. Click Consumer Registration Settings.
b. In the Consumable Type field, select the asset type to allow instances of that type to consume instances of this asset type.
Note:  
If you do not specify a consumable asset type in the type definition, with the exception of virtual types (Virtual Service, Virtual XML Service, Virtual REST Service), you cannot register consumers for instances of that type.
c. If you want to specify multiple consumable types, use the plus button to add additional rows.
d. Click OK to leave the Consumer Registration Settings dialog.
e. Click OK to complete the advanced settings.
5. In panel 2, specify the attributes that make up the type. For detailed instructions. If you need procedures for this step, see Define Attributes for a Type.
6. In panel 3, define profiles for the type and assign attributes to them. If you need procedures for this step, see Define Profiles for an Asset Type.
7. In panel 4, specify which of the generic profiles you want to include with the type. If you need procedures for this step, see Generic Profiles.
8. In panel 5, specify the order in which you want the profiles to appear when they are displayed in the user interface.
9. Click Finish to save the new type.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback