Metadata Item
The Metadata Item controls the visibility and use of a Custom Field.
- Attribute names are not case sensitive. For example, you can specify renderhidden instead of RenderHidden.
- Custom Fields hide or appear in the UI Works with the Classes and RenderHidden settings.
- If the value is null, a Metadata API response omits this attribute from the return value of an API call.
Attribute name |
Datatype |
Description |
---|---|---|
AllowedCharacters |
String |
(Optional) A set of Base 64 encoded strings. |
AllowedValues |
String |
(Optional) An array of allowable values for the Custom Field. |
Category |
String |
(Optional) A Distinguished Name (DN) of the item category or null if no category. |
Classes |
String |
Required. An array of certificate classes that use the Custom Field:
|
ConfigAttribute |
String |
(Optional) For POST Metadata/UpdateItem is read-only. The Custom Field GUID. |
DateOnly |
Boolean |
(Optional) The setting controls whether the Custom Field requires a calendar date. On a REST API response, this field only appears with dates (Type 4) :
|
DN |
String | For Metadata/UpdateItem, this attribute is read-only. The Distinguished Name (DN) of the Custom Field. |
DefaultValues |
String |
(Optional) An array of one or more default values that appear to the user. On a REST Response, if there is not default, the field is either omitted or an empty array. |
DisplayAfter |
String | (Optional) The Custom Field appears after an array of Custom Field values. |
ErrorMessage |
String | (Optional) The error message that you define for this Custom Field. |
Guid |
String | (Optional) For POST Metadata/UpdateItem is read-only. The Custom Field GUID. |
Help |
String | (Optional) The tool tip to show to the user how to populate the Custom Field. |
Label |
String |
Required. The text that describes the Custom Field in the UI. |
LocalizationTable |
String |
(Optional) An array or dictionary of strings from another language. |
LocalizedHelp |
String |
(Optional) The localized help text that describes the Custom Field. |
LocalizedLabel |
String |
(Optional) A localized label text describing the Custom Field. |
LocalizedSet |
String |
(Optional) An array of localization settings. Language: The culture code. List: An array of Invarient and corresponding Localized string for each AllowedValues element. |
Mandatory |
Boolean |
(Optional) If present, a Custom Field value is required.
|
Mask |
String |
(Optional) The set of characters to use to hide user input for the Custom Field. |
MaximumLength |
Nullable integer |
(Optional) The Default is null. The maximum number of characters a user can input for the Custom Field that accepts a string. |
MinimumLength |
Nullable integer |
(Optional) The Default is null. The minimum number of characters a user can input for Custom Field that accepts a string. |
Name |
String | Required. The Custom Field name or GUID. For POST Metadata/UpdateItem is read-only. |
Policyable |
Boolean |
(Optional) The setting to determine whether a policy applies to the Custom Field:
|
RegularExpression |
String |
(Optional) The regular expression to control user input. For example: ^[a-zA-Z0-9_\\.\\+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-\\.]+$. |
RenderHidden |
Boolean |
(Optional) The setting to control visibility of the Custom field in the UI:
|
RenderReadOnly |
Boolean |
(Optional) The setting to control UI changes:
|
Single |
Boolean |
The setting to control the number of input selections:
|
TimeOnly |
Boolean |
(Optional) The setting controls whether the Custom Field requires a time of day:
|
Type |
Integer |
|