afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedTrackedChange.json

93 lines
4.8 KiB
JSON

{
"sections": [
"title",
"description",
"fields",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "FeedTrackedChange - Data API",
"description": "Represents an individual field change or set of field changes. A FeedTrackedChange is a child object of a record feed, such as AccountFeed. This object is available in API version 18.0 and later.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"CurrencyIsoCode": {
"type": "picklist",
"properties": "Defaulted on create, Group, Restricted picklist, Sort",
"description": "Available only for organizations with the multicurrency feature enabled. Contains the ISO currency code for the field, if FieldName is a currency field."
},
"FeedItemId": {
"type": "reference",
"properties": "Filter, Group, Sort",
"description": "ID of the parent feed that tracks the field change."
},
"FieldName": {
"type": "string",
"properties": "Group, Sort",
"description": "The name of the field that was changed. Note: This field also tracks other events that are not related to an individual field for a parent feed. These events occur as the parent record advances through its pipeline. For example, a value of leadConverted indicates that a lead has been converted to an opportunity. For a full list of values, see Tracking of Special Events."
},
"NewValue": {
"type": "anyType",
"properties": "Nillable, Sort",
"description": "The new value of the field that was changed."
},
"OldCurrencyIsoCode": {
"type": "string",
"properties": "Group, Nillable, Sort",
"description": "Available only for organizations with the multicurrency feature enabled. Contains the ISO currency code for the OldValue field, if FieldName is a currency field."
},
"OldValue": {
"type": "anyType",
"properties": "Nillable, Sort",
"description": "The last value of the field before it was changed."
}
},
"usage": "A user can subscribe to a record or to another user. Changes to the record and updates from the users are displayed in the Chatter feed on the user's home page, which is a useful way to stay up-to-date with other users and with changes made to records in Salesforce. Feeds are available in API version 18.0 and later. If you move a custom field to the Recycle Bin, all FeedTrackedChange records that track historical changes to the custom field are automatically deleted and are not restored if the custom-field is undeleted. The following sections outline the difference between standard feeds and custom feeds.\n\nA user can subscribe to a record or to another user. Changes to the record and updates from the users are displayed in the Chatter feed on the user's home page, which is a useful way to stay up-to-date with other users and with changes made to records in Salesforce. Feeds are available in API version 18.0 and later.\n\nIf you move a custom field to the Recycle Bin, all FeedTrackedChange records that track historical changes to the custom field are automatically deleted and are not restored if the custom-field is undeleted.\n\nThe following sections outline the difference between standard feeds and custom feeds.",
"wsdl_segment": "```xml\n<complexType name=\"FeedTrackedChange\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"FeedItemId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"FieldName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"NewValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:anyType\"/>\n <element name=\"OldValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:anyType\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n```",
"field_reference": {
"CurrencyIsoCode": {
"field_label": "Currency ISO Code",
"type": "picklist",
"length": "3"
},
"FeedItemId": {
"field_label": "Feed Item ID",
"type": "reference",
"length": "18"
},
"FieldName": {
"field_label": "Field",
"type": "string",
"length": "120"
},
"Id": {
"field_label": "Feed Tracked Change ID",
"type": "id",
"length": "18"
},
"NewValue": {
"field_label": "New Value",
"type": "anyType",
"length": "255"
},
"OldCurrencyIsoCode": {
"field_label": "Old Currency ISO Code",
"type": "string",
"length": "3"
},
"OldValue": {
"field_label": "Old Value",
"type": "anyType",
"length": "255"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}