CentraSite Documentation : CentraSite Administrator’s Guide : Object Type Management : Basic Components of a Type : Attributes : Attribute Names
Attribute Names
An attribute that is one of the following types has two names associated with it: a display name and a schema name.
Boolean
Date
Duration
Email
Multiline String
IP Address
Number
String
URL
The display name for these types of attributes is the name that is displayed by the CentraSite Control and CentraSite plug-in for Eclipse user interfaces. An attribute's display name can consist of any combination of characters, including spaces.
The following are all valid display names:
Business Owner
Amount (in $)
Numéro de téléphone
Avg. Invocations/Minute
1099 Code
You can change an attribute's display name at any time.
The attribute's schema name is the name that CentraSite actually gives to the underlying JAXR-based slot that represents the attribute in the registry. This name must be NCName-conformant, meaning that:
*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.
If you do not specify a schema name for an attribute, CentraSite automatically generates a default schema name based on the attribute's display name. It does this by taking the attribute's display name and replacing any spaces in the name with underscore characters (_) and/or by removing any invalid character in the name.
If you explicitly specify a schema name that is not NCName-conformant, CentraSite will request that you change it to an NCName-conformant name.
The following table describes the default schema names that CentraSite would generate for the display names shown above.
For this Display Name…
CentraSite would generate this schema name…
The resulting schema name is…
Business Owner
Business_Owner
Valid. You would not need to change the schema name.
Amount (in $)
Amount_in_
Valid. You would not need to change the schema name.
Numéro de téléphone
Numéro_de_téléphone
Valid. You would not need to change the schema name.
Avg. Invocations Minute
Avg._Invocations_Minute
Valid. You would not need to change the schema name.
1099 Code
_099_Code
Valid. You would not need to change the schema name.
Note also that an attribute's schema name must be unique within the type (that is, two attributes in a type cannot have the same schema name).
After the attribute is created, you can no longer change its schema name.
Names for the Other Attribute Types
The concept of display names and schema names does not apply to the following types of attributes:
Classification
File
Relationship
These types are not represented using JAXR-based slots and therefore, do not require underlying schema names. These attributes have one name, which can consist of any combination of letters, numbers, or special characters (including spaces).
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback