mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-05 14:54:50 +08:00
59 lines
4.5 KiB
JSON
59 lines
4.5 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"supported_soap_calls",
|
||
"supported_rest_api_http_methods",
|
||
"fields",
|
||
"special_access_rules",
|
||
"wsdl_segment"
|
||
],
|
||
"title": "ApexComponentMember - Tooling API",
|
||
"description": "Represents the working copy of a Visualforce component for editing, saving, or compiling in a MetadataContainer.",
|
||
"supported_soap_calls": "`create()`, `delete()`, `describeSObjects()`, `query()`, `retrieve()`, `update()`, `upsert()`",
|
||
"supported_rest_api_http_methods": "`Query`, `GET`, `POST`, `PATCH`, `DELETE`",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description"
|
||
],
|
||
"fields": {
|
||
"Body": {
|
||
"type": "string",
|
||
"properties": "Create, Update",
|
||
"description": "The data for the Visualforce component. The Body field is the only field you can update() or PATCH."
|
||
},
|
||
"Content": {
|
||
"type": "string",
|
||
"properties": "None",
|
||
"description": "A string representation of ApexComponentMetadata that lists the version, status, and packaged versions of the corresponding Visualforce component."
|
||
},
|
||
"ContentEntityId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Sort",
|
||
"description": "A reference to a Visualforce component.There can be only one ContentEntityId per ApexComponentMember, otherwise, an error is reported. This field is required if FullName is not specified."
|
||
},
|
||
"FullName": {
|
||
"type": "string",
|
||
"properties": "Group, Nillable",
|
||
"description": "The full name of the associated object in the Metadata API. Use to avoid race conditions on create, before you have IDs. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance. This field is required if ContentEntityId is not specified."
|
||
},
|
||
"LastSyncDate": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Sort",
|
||
"description": "The date that this ApexComponentMember Body was replicated from the underlying entity. When you deploy a MetadataContainer, this value is compared with the LastModifiedDate of the underlying Visualforce component. If LastSyncDate is older than LastModifiedDate, the deployment fails with an error."
|
||
},
|
||
"Metadata": {
|
||
"type": "ApexComponentMetadata",
|
||
"properties": "None",
|
||
"description": "An object that describes the version, status, and packaged versions of the corresponding Visualforce component. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance."
|
||
},
|
||
"MetadataContainerId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Sort",
|
||
"description": "A reference to a MetadataContainer or ContainerAsyncRequest object.As part of a successful deployment, this field is reset from the ID of the deployed MetadataContainer to the ID of the corresponding ContainerAsyncRequest object. This field is required."
|
||
}
|
||
},
|
||
"special_access_rules": "As of Spring ’20 and later, to access ApexComponentMember, users must have both the View All Data and Customize Application permissions.",
|
||
"wsdl_segment": "```xml\n<xsd:complexType name=\"ApexComponentMember\">\n <xsd:complexContent>\n <xsd:extension base=\"ens:sObject\">\n <xsd:sequence>\n <xsd:element name=\"FullName\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"Metadata\" minOccurs=\"0\" type=\"mns:ApexComponent\" nillable=\"true\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n\n\n<xsd:complexType name=\"ApexComponent\">\n <xsd:complexContent>\n <xsd:extension base=\"mns:Metadata\">\n <xsd:sequence>\n <xsd:element name=\"apiVersion\" minOccurs=\"0\" type=\"xsd:double\"/>\n <xsd:element name=\"description\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"label\" type=\"xsd:string\"/>\n <xsd:element name=\"packageVersions\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"mns:PackageVersion\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n<xsd:simpleType name=\"ID\">\n <xsd:restriction base=\"xsd:string\">\n <xsd:length value=\"18\"/>\n <xsd:pattern value=\"[a-zA-Z0-9]{18}\"/>\n </xsd:restriction>\n</xsd:simpleType>\n```"
|
||
} |