# Managed Object - CustomFieldsManager

Property of
  ServiceContent
See also
  CustomFieldDef, ManagedEntity, PrivilegePolicyDef
Since
  null

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
field* P | CustomFieldDef[] |

*May not be present P Required privilege: System.View

Methods

Methods defined in this Managed Object
AddCustomFieldDef, RemoveCustomFieldDef, RenameCustomFieldDef, SetField

# AddCustomFieldDef

Required Privileges
  Global.ManageCustomFields

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call.
name P | xsd:string | Since null
moType* P | xsd:string | Since null
fieldDefPolicy* P | PrivilegePolicyDef | Since null
fieldPolicy* P | PrivilegePolicyDef | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
CustomFieldDef |

Faults

Type | Description
--- | ---
DuplicateName |
InvalidPrivilege |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# RemoveCustomFieldDef

Required Privileges
  Global.ManageCustomFields

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call.
key P | xsd:int | Since null

P Required privilege: key

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# RenameCustomFieldDef

Required Privileges
  Global.ManageCustomFields

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call.
key P | xsd:int | Since null
name P | xsd:string | Since null

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
DuplicateName |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# SetField

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call.
entity P | ManagedObjectReference to a ManagedEntity | Since null
key P | xsd:int | Since null
value P | xsd:string | Since null

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None