CentraSite Documentation : CentraSite Administrator’s Guide : Object Type Management : Creating a New Type : Define Profiles for an Asset Type : General Procedure
General Procedure
Use the following procedure to complete panel 3 in the Add Asset Type or Edit Asset Type wizard. You use this panel to define profiles and their attributes.
You can add a profile in two ways:
*Manually, using the asset type's available attributes. To define a profile manually, you select attributes from the list of available attributes and assign them to the profile.
*Using a Java plug-in that contains a computed profile. A computed profile is a user-defined profile that is implemented as a Java plug-in. You add the computed profile to the asset type by importing the computed profile's definition from an archive file. The plug-in specifies the attributes that are contained in the profile. The plug-in also has the sole responsibility for rendering the layout representation within the profile. After a computed profile has been defined for an asset type, the computed profile is treated in the same way as any other profile; for example, permissions for computed profiles can be granted in the same way as for standard profiles, and the ordering of profiles within a type definition is the same for computed profiles as for standard profiles.
To add a profile to the asset type
1. Go to panel 3 in the Add Asset Type wizard (if you are creating a new type) or the Edit Asset Type wizard (if you are modifying an existing type). If you need procedures for this step, see Creating a New Type or Viewing or Editing a Type.
2. To add a new profile to the type, click Add Profile and perform the following steps.
a. In the Profile Name field, enter a name for the profile. This is the name that users will see in the user interface when they view an asset of this type. Therefore, the name you assign should be meaningful to your users (for example, Technical Notes, not tn).
Note:  
You cannot give a profile the same name as any of the generic profiles as described in Generic Profiles.
b. If the profile you wish to add is a computed profile, mark the checkbox Computed Profile and select the implementation language from the drop-down list. If, for example, you have implemented the computed profile using Java, then select Java.
When you mark the checkbox, the dialog's list of available attributes is replaced by the input field Profile Implementation Archive. In this field, specify the name of the archive file that contains the definition of the computed profile, then click OK.
For more information about how to implement a computed profile, see Defining a Computed Profile for CentraSite Control.
Note:  
If you define a profile as a computed profile, you cannot change the profile back to being a non-computed profile at a later stage. You can, however, change the archive file that contains the definition of the computed profile.
c. If your new profile is not a computed profile, continue with this step.
Use the arrow buttons to specify the attributes for the new profile and the order in which the attributes will be displayed.
*Add an attribute to the profile by marking the attribute's checkbox in the list of available attributes and clicking the right-pointing arrow.
*Add all of the available attributes to the profile by clicking the right-pointing double arrow.
*Remove an attribute from the profile by marking the attribute's checkbox in the list of assigned attributes and clicking the left-pointing arrow.
*Remove all attributes from the profile by clicking the left-pointing double arrow.
*Change the position of an assigned attribute relative to the other assigned attributes within the profile by marking the checkbox of the attribute and clicking the up or down arrow as required.
d. Click OK.
3. If you need to edit a profile that already exists within the type, click the name of the profile in panel 3 and make your changes in the Edit Profile dialog box.
Use the arrow buttons, as described in the previous step for Add Profile, to specify the attributes for the profile, and the order in which the attributes will be displayed.
4. If you need to delete a profile, select the profile in panel 3 and click Delete.
Note:  
Deleting a profile does not delete the attributes that were assigned to the profile. It simply removes the profile definition from the asset type. The attributes still exist within the type. However, they will not be visible in the user interface unless you assign them to another profile.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback