Skip to main content

The Metadata interface manages Custom Fields for objects that appear in the following places of the UI:

  • Certificates
  • Devices
  • Code Signing Projects
  • Code Signing Environments

Metadata Types

TypeNameDescription
1TextCan accept a single line of text. MinimumLength, MaximumLength, Mask and RegularExpression apply to this field type
2ListProvides the user with a list of selectable items. Single controls if one or more items can be selected
3ChoiceProvides the user with options. if Single is true, the options are presented as radio-buttons, otherwise they are checkboxes
4DateProvides the user with a date/time selector. DateOnly and TimeOnly apply to this field type
5IdentityProvides the user with the ability to select an identity. If Single is true, only one identity can be selected

Metadata Item (Custom Field Definition)

The Metadata Item describes a Custom Field.

Property nameData TypeDescription
AllowedCharactersstringOptional: All characters allowed in values
AllowedValues[string]Optional: An array of allowable values
Classes[string]An array of schema classes that can use the custom field
SchemaAttributestringRead-Only: The Custom Field GUID
DateOnlybooleanFor Date type Custom Fields: Only ask for date, hide time
DNstringRead-Only: The DN of the Custom Field definition object
DefaultValues[string]Optional: An array of values used set by default on the CustomField
GuidstringRead-Only: The Custom Field GUID
HelpstringOptional: The tool tip to show the user how to populate the Custom Field
LabelstringThe text that describes the Custom Field in the UI
MandatorybooleanOptional: If true, users must enter a value for the Custom Field in the UI
MaskstringOptional: An input mask to use for Text type Custom Fields. The '#'-character represents characters the user may provide
MaximumLengthnullable integerOptional: The maximum number of characters a user can input for the Custom Field that accepts a string
MinimumLengthnullable integerOptional: The minimum number of characters a user must input for the Custom field that accepts a string
NamestringThe name (CN) of the Custom Field. Required for POST metadata/defineitem, read-only otherwise
PolicyablebooleanOptional: If true, policy will be applied to a Custom Field
RegularExpressionstringOptional: The regular expression to apply to user input in a Text type Custom Field
RenderHiddenbooleanOptional: If true, the UI will not display the Custom Field
RenderReadOnlybooleanOptional: If true, the UI will display the Custom Field but not let the user change it
SinglebooleanOptional: If true, only a single value can be selected for a List or Choice type Custom Field
TimeOnlybooleanOptional: If true, only a time can be entered in a Date type Custom Field
TypeintegerThe type of the Custom Field. Required for Post metadata/defineitem, read-only otherwise