mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
75 lines
3.1 KiB
JSON
75 lines
3.1 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"special_access_rules",
|
||
"usage",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "DocumentAttachmentMap - Data API",
|
||
"description": "Maps the relationship between an EmailTemplate and its attachment, which is stored as a Document.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description"
|
||
],
|
||
"fields": {
|
||
"DocumentId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Sort, Update",
|
||
"description": "ID of the document that this object tracks."
|
||
},
|
||
"DocumentSequence": {
|
||
"type": "int",
|
||
"properties": "Create, Filter, Group, Sort, Update",
|
||
"description": "Represents the order that the attachments will be included in the email defined by the EmailTemplate specified by the DocumentId. Label is Attachment Sequence. The first attachment is given a value of 0, and each subsequent attachment is given a value incremented by 1."
|
||
},
|
||
"ParentId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Sort, Update",
|
||
"description": "ID of the EmailTemplate parent. The attachment identified by DocumentId is attached to the EmailTemplate specified in this field."
|
||
}
|
||
},
|
||
"special_access_rules": "Customer Portal users can’t access this object.",
|
||
"usage": "Use this object to map the relationship of an EmailTemplate to its attachments, and to specify the order of the attachments.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"DocumentAttachmentMap\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"DocumentId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"DocumentSequence\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"ParentId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\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": {
|
||
"CreatedById": {
|
||
"field_label": "Created By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedDate": {
|
||
"field_label": "Created Date",
|
||
"type": "datetime"
|
||
},
|
||
"DocumentId": {
|
||
"field_label": "Document ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"DocumentSequence": {
|
||
"field_label": "Attachment Sequence",
|
||
"type": "int",
|
||
"digits": "9"
|
||
},
|
||
"Id": {
|
||
"field_label": "Document Entity Map Id",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"ParentId": {
|
||
"field_label": "Entity ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length",
|
||
"digits"
|
||
]
|
||
} |