mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
209 lines
13 KiB
JSON
209 lines
13 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"special_access_rules",
|
||
"usage",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "ExternalDataSource - Data API",
|
||
"description": "Represents an external data source, which defines connection details for integration with data and content that are stored outside the Salesforce org. This object is available in API version 27.0 and later.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description",
|
||
"relationship_name",
|
||
"relationship_type",
|
||
"refers_to"
|
||
],
|
||
"fields": {
|
||
"AuthProviderId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "Salesforce ID of the authentication provider, which defines the service that provides the login process and approves access to the external system.Only users with the “Customize Application” and “Manage AuthProviders” permissions can view this field. This field is available in API version 39.0 and later. This is a relationship field.",
|
||
"relationship_name": "AuthProvider",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "AuthProvider"
|
||
},
|
||
"CustomConfiguration": {
|
||
"type": "textarea",
|
||
"properties": "Nillable",
|
||
"description": "A JSON-encoded configuration string that defines parameters specific to the type of external data source."
|
||
},
|
||
"DeveloperName": {
|
||
"type": "string",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Note: When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance may slow while Salesforce generates one for each record."
|
||
},
|
||
"Endpoint": {
|
||
"type": "textarea",
|
||
"properties": "Nillable",
|
||
"description": "The URL of the external system, or if that URL is defined in a named credential, the named credential URL. A named credential URL contains the scheme callout:, the name of the named credential, and an optional path. For example: callout:My_Named_Credential/some_path. You can append a query string to a named credential URL. Use a question mark (?) as the separator between the named credential URL and the query string. For example: callout:My_Named_Credential/some_path?format=json."
|
||
},
|
||
"isWritable": {
|
||
"type": "boolean",
|
||
"properties": "Defaulted on create, Filter, Group, Sort",
|
||
"description": "Lets the Lightning Platform and users in this org create, update, and delete records for external objects associated with the external data source. The external object data is stored outside the org. By default, external objects are read only. Available only for Salesforce Connect external data sources. Available in API version 35.0 and later. However, with the cross-org adapter for Salesforce Connect, you can set this field to true only in API version 39.0 and later."
|
||
},
|
||
"Language": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort",
|
||
"description": "The language of the MasterLabel."
|
||
},
|
||
"MasterLabel": {
|
||
"type": "string",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "Master label for the external data source. This internal label doesn’t get translated."
|
||
},
|
||
"NamedCredentialId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "The Salesforce ID of the referenced named credential for an external data source. Required for Salesforce Connect adapters for Amazon DynamoDB, Amazon Athena, GraphQL, and OData 4.01. For connecting to other external data sources, the field must be null. This field is available in API version 58.0 and later. This is a relationship field.",
|
||
"relationship_name": "NamedCredential",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "NamedCredential"
|
||
},
|
||
"NamespacePrefix": {
|
||
"type": "string",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation."
|
||
},
|
||
"PrincipalType": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort",
|
||
"description": "Specifies whether the org uses one set (NamedUser), multiple sets (PerUser), or no (Anonymous) credentials to access the external system. Each set of credentials corresponds to a login account on the external system. Corresponds to Identity Type in the user interface."
|
||
},
|
||
"Protocol": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort",
|
||
"description": "Specifies whether to use OAuth, password authentication, or no authentication to access the external system. Some types of external data sources support only one value. For cloud-based Files Connect external systems, select Oauth 2.0. For on-premises systems, select Password Authentication. For Simple URL data sources, select No Authentication. Additional authentication protocols are supported for the Amazon DynamoDB, Amazon Athena, Snowflake, GraphQL, and OData 4.01 external data sources. AwsSv4 Basic Custom Jwt JwtExchange"
|
||
},
|
||
"Repository": {
|
||
"type": "string",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "Used for SharePoint Online. An optional name of the repository in the data source. Not applicable to all data source types."
|
||
},
|
||
"Type": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort",
|
||
"description": "Specifies the adapter that connects to the external system."
|
||
}
|
||
},
|
||
"special_access_rules": "From API version 48.0 onwards, only authenticated internal and external users can access this object.",
|
||
"usage": "Define an external data source to connect to data or content that’s stored outside the Salesforce org. Then create external objects, which map to the external system’s data and behave similarly to custom objects.\n\nSome external data source fields rely on per-user authentication to connect with an\n external system. If an admin edits one of these fields, then the previously authenticated\n credentials can get invalidated, requiring individual users to reauthenticate.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"ExternalDataSource\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"AuthProvider\" nillable=\"true\" minOccurs=\"0\" type=\"ens:AuthProvider\"/>\n <element name=\"AuthProviderId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\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=\"CustomConfiguration\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CustomHttpHeaders\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"DeveloperName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Endpoint\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ExternalDataSrcDescriptors\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"IsWritable\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"Language\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"LargeIcon\" nillable=\"true\" minOccurs=\"0\" type=\"ens:StaticResource\"/>\n <element name=\"LargeIconId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"MasterLabel\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"NamedCredential\" nillable=\"true\" minOccurs=\"0\" type=\"ens:NamedCredential\"/>\n <element name=\"NamedCredentialId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"NamespacePrefix\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"PrincipalType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Protocol\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Repository\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SetupEntityAccessItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"SmallIcon\" nillable=\"true\" minOccurs=\"0\" type=\"ens:StaticResource\"/>\n <element name=\"SmallIconId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Type\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"UserAuths\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\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<simpleType name=\"QueryLocator\">\n <restriction base=\"xsd:string\"/>\n</simpleType>\n<complexType name=\"QueryResult\">\n <sequence>\n <element name=\"done\" type=\"xsd:boolean\"/>\n <element name=\"queryLocator\" type=\"tns:QueryLocator\" nillable=\"true\"/>\n <element name=\"records\" type=\"ens:sObject\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n <element name=\"size\" type=\"xsd:int\"/>\n </sequence>\n</complexType>\n```",
|
||
"field_reference": {
|
||
"AuthProviderId": {
|
||
"field_label": "Authentication Provider ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedById": {
|
||
"field_label": "Created By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedDate": {
|
||
"field_label": "Created Date",
|
||
"type": "datetime"
|
||
},
|
||
"CustomConfiguration": {
|
||
"field_label": "Custom Configuration",
|
||
"type": "textarea",
|
||
"length": "4000"
|
||
},
|
||
"DeveloperName": {
|
||
"field_label": "Name",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"Endpoint": {
|
||
"field_label": "URL",
|
||
"type": "textarea",
|
||
"length": "1000"
|
||
},
|
||
"Id": {
|
||
"field_label": "External Data Source ID",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"IsDeleted": {
|
||
"field_label": "Deleted",
|
||
"type": "boolean"
|
||
},
|
||
"IsWritable": {
|
||
"field_label": "Writable External Objects",
|
||
"type": "boolean"
|
||
},
|
||
"Language": {
|
||
"field_label": "Master Language",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"LargeIconId": {
|
||
"field_label": "Static Resource ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"LastModifiedById": {
|
||
"field_label": "Last Modified By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"LastModifiedDate": {
|
||
"field_label": "Last Modified Date",
|
||
"type": "datetime"
|
||
},
|
||
"MasterLabel": {
|
||
"field_label": "External Data Source",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"NamedCredentialId": {
|
||
"field_label": "Named Credential ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"NamespacePrefix": {
|
||
"field_label": "Namespace Prefix",
|
||
"type": "string",
|
||
"length": "15"
|
||
},
|
||
"PrincipalType": {
|
||
"field_label": "Identity Type",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"Protocol": {
|
||
"field_label": "Authentication Protocol",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"Repository": {
|
||
"field_label": "Default External Repository",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"SmallIconId": {
|
||
"field_label": "Static Resource ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"SystemModstamp": {
|
||
"field_label": "System Modstamp",
|
||
"type": "datetime"
|
||
},
|
||
"Type": {
|
||
"field_label": "Class ID",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length"
|
||
]
|
||
} |