Extensions
| Attribute | Description |
|---|---|
| <sfdc:Version> | Optional. Zero or 1 occurrence. Declares that the OpenSearch description and the external search provider are compliant to a specific Salesforce Federated Search API version. First version is version 1. If not present, it is considered version 1. |
| <sfdc:RecordTypes> | Optional. If not present, the search results are not typed and only the standard
OpenSearch fields are supported. Zero or more occurrences. Declares the complete list of
record types supported by the external search provider. Each record type is declared in an
<sfdc:RecordType> child element with zero or more occurrences and a
case-sensitive name attribute. The attribute name must be unique and can contain only ASCII alphanumeric characters, spaces (“ ”, U+0020), or hyphens (“-”, U+002D). The maximum length is 80 characters. All RecordType names must be distinct. For example, the following declares that the external search provider declares that the external search provider categorizes the records into blog post to Blog Post, Medical Record, or Supervisor. Any distinct value can be declared. These record type values are meant to be passed to the extended parameter {sfdc:recordType} of the search request URL template. |
| <sfdc:Field> | Optional. Zero or more occurrences. Declares more custom fields that can be returned as
elements of the search results for the record type. These custom fields can have any distinct
name and are in addition to the common fields. When no custom field is declared, search
results are expected to contain only common fields. Child element of <sfdc:RecordType>, with a case-sensitive name, type and sortable attributes:
For example, the following declares that results of record type Blog Post can have the additional custom fields Author, Agent, and Relevant Tags, which all type string, and all are sortable. It also declares that the standard Atom field link is not sortable for Blog Post. |
| <sfdc:maxCount> | Optional. Integer value greater than or equal to 1. Declares that the external search provider serves up to a specified number of results per page. It defines the maximum value for the count parameter of the URL template. The federated search connector doesn’t ask for more results than this limit per page. By default, if this attribute is absent, the count parameter has no declared limit. In all cases, the value of the count parameter might not be honored by the external search provider, as stated in the OpenSearch specification. It’s a parameter of the <Url> element. |
| <sfdc:maxTotalResult> | Optional. Integer value greater than or equal to 1. Declares that the external search provider serves up to a specified number of results per search. It defines the maximum value for the (startIndex + count) parameters of the URL template. The federated search connector doesn’t ask for more results than this limit per search. By default, if this attribute is absent, there is no declared limit. It’s a parameter of the <Url> element. |