Designer 10.5 | Centrasite Eclipse UI Help | Concepts | Attributes | Attribute Names
 
Attribute Names
 
Names for the Other Attribute Types
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 Eclipse GUI. An attribute's display name can consist of any combination of characters, including spaces.
The following are all valid attribute 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 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: . - _ (i.e., period, dash, or underscore). It can also contain combining characters and extender characters (e.g., diacriticals).
*The name cannot contain any spaces.
For more information about the NCName type, see http://www.w3.org/TR/xmlschema-2/#NCName.
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 (_). If the default name that CentraSite generates is not NCName-conformant, you must explicitly assign a valid schema name to the attribute.
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_$)
Invalid. A schema name cannot include the () or $ characters. You must replace the default name with a valid schema name. You might, for example, use Amount or AmountInDollars as 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
Invalid. A name must not include the / character. You must replace the default name with a valid schema name. You might, for example, use AvgInvokesPerMin as the schema name.
1099 Code
1099_Code
Invalid. A schema name must not begin with a number. You must replace the default name with a valid schema name. You might, for example, use _1099_Code or code1099 as the schema name.
Note also that an attribute's schema name must be unique within the type (i.e., two attributes in a type cannot have the same schema name).
After the attribute is created, you can no longer change its schema name.