Skip to content

Vault components and subcomponents use attribute values for their configuration.

MDL attributes use the following data types:

Data TypeDescriptionValidationExample
StringCan contain letters, numbers, and spaces.Must be wrapped in single quotes ('). Maximum number of characters allowed is defined as max_length on the attribute metadataattribute('This is a String')
BooleanCan have two values: true and falseattribute(true)
NumberContains digits.Maximum value defined as max_value on the attribute metadata. Minimum value defined as min_value on the attribute metadata. Max number of decimal places defined as scale on the attribute metadataattribute(1234)
ComponentA reference to a component in the Vault.Component type is defined as component on the attribute metadataattribute('Doctype.my_special_doctype__c')
EnumA value from a list of predefined values sorted in the order you entered them.Allowed values list defined as enums on the attribute metadataattribute('Red')
XMLStringComplex data in XML formatThe specified values bust be wrapped in curly brackets ({}). The framework validates XML structure only (not the content). Vault returns the GEN-F***-II-1056 error code if invalid. Maximum number of characters allowed is defined as max_length on the attribute metadataattribute({<xml>Some XML</xml>})
LongStringA Long Text fieldMaximum number of characters allowed is defined as max_length on the attribute metadataattribute('...')
SdkCodeSome Java SDK source code.Must be wrapped in a <VeevaData> node.attribute(<VeevaData>...<VeevaData>)
ExpressionA formula.Maximum number of characters allowed is defined as max_length on the attribute metadataattribute([field__c='abc'])
FileA reference to a binary configuration file.attribute('bc17a630e6493266d5f629460c91748c')