{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "AnimationRule - Metadata API",
"description": "Represents criteria for determining when an animation is displayed to Path users.This type extends the Metadata metadata type and inherits its fullName field.",
"file_information": ".animationRule",
"directory_location": "animationRules",
"fields_columns": [
"type",
"description"
],
"fields": {
"animationFrequency": {
"type": "picklist",
"description": "The frequency with which an animation is displayed when a user selects the designated picklist values in a path. Valid values are: always often sometimes rarely A value of always triggers an animation every time. The values often, sometimes, and rarely trigger an animation progressively less frequently.",
"required": true
},
"developerName": {
"type": "string",
"description": "The developer name for the animation rule. Note: Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.",
"required": true
},
"isActive": {
"type": "boolean",
"description": "Indicates whether the animation rule is active (true) or not (false).",
"required": true
},
"masterLabel": {
"type": "string",
"description": "The label for the animation rule.",
"required": true
},
"recordTypeContext": {
"type": "picklist",
"description": "An enum to track whether this AnimationRule applies to all record types for the associated sObject, or only to a single or main record type. Valid values are All, Master, or Custom.",
"required": true
},
"recordTypeName": {
"type": "reference",
"description": "The record type selected for the sObject in which the animation is displayed."
},
"sobjectType": {
"type": "string",
"description": "The object on which the animation rule is run."
},
"targetField": {
"type": "string",
"description": "Name of the field used to determine when to display an animation.",
"required": true
},
"targetFieldChangeToValues": {
"type": "string",
"description": "Values used to determine when to display an animation. When a user selects a value in targetField that matches a value stored in targetFieldChangeToValues, the animation is displayed.",
"required": true
}
},
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "The following is an example of an AnimationRule component.",
"code": "\n\n Always\n AnimationRule_DeveloperName\n true\n AnimationRule Label\n All\n __MASTER__\n Opportunity\n StageName\n Delivered, Negotiating, Closed Won\n"
}
]
}