CustomAttribute Data Type

A custom attribute

Namespace
(Default)
Properties
name data type type namespace min/max occurs description
allowedValues list of string element 0/unbounded the allowedValues
Properties inherited from CustomAttributeBase
costItems list of AttributeCostItem element 0/unbounded the costItems
description string element 0/1 Gets the description.
enumerated boolean element 1/1 the attribute is enumerated flag
name string element 0/1 Gets the name.
portalEditable string element 0/1 Whether the custom attribute can be edited in the Service Portal.
regularExpression string element 0/1 the regular expression
targetManagedObjectTypes list of ManagedObjectType element 0/unbounded The managed objects this custom attribute is applicable for. The Default is ALL.
validationMessage string element 0/1 the validation message
value string element 0/1 Gets the value.
Properties inherited from ManagedObjectReference
displayName string element 0/1 Gets the display name.
id long element 1/1 The unique id of the managed object this refers to.
type ManagedObjectType element 0/1 The type of managed object this refers to.
Properties inherited from supportTemplating
xsitype string attribute 0/1  

Example

<CustomAttribute>
  <allowedValues>...</allowedValues>
  <portalEditable>...</portalEditable>
  <enumerated>...</enumerated>
  <description>...</description>
  <targetManagedObjectTypes>...</targetManagedObjectTypes>
  <name>...</name>
  <value>...</value>
  <costItems>
    <name>...</name>
    <cost>...</cost>
    <costFormula>...</costFormula>
  </costItems>
  <regularExpression>...</regularExpression>
  <validationMessage>...</validationMessage>
</CustomAttribute>