Skip to content

Class: code

Custom actions for records, called record actions, are invoked by a user on a specific record from the UI or API. You create record actions with the RecordAction interface in the Vault Java SDK.

AttributeMetadataDescription
labelType: String
Max length: 60
UI-friendly string in the Vault's base language. Only the first 40 characters are displayed in the Vault UI.
activeType: BooleanIndicates whether the component is active.
checksumType: String
Max length: 1500
Used to check data for errors.
iconType: String
Max length: 1500
Specifies the icon to display for your action in the Vault UI Actions menu. If omitted, no icon is displayed and the action is not eligible to appear in the the most frequently used section of the Action Bar. See the Vault Java SDK Documentation for a list of allowed values.
objectType: ComponentThe object this record action is associated to, for example, product__v.
source_codeType: SdkCode
Max length: 1048576
The source of this record action code used to create and edit metadata. For example, Custom means this is a custom action developed with the Vault Java SDK.
typeType: String
Max length: 1500
The type of record action, for example, Object.
usagesType: String
Max length: 1500
Multi-value
If specified, the action is available for configuring in the specified usages only. For example, USER_ACTION. If omitted, the action is available across all supported usages.
user_input_objectType: ComponentIf your action takes user input, identifies the user input object.
user_input_object_typeType: ComponentIf your action takes user input, identifies the user input object type.
OperationSupport
Create
Recreate
Alter
Drop
Rename
Describe
Generate Recreate
Queryable