広告
広告
Salesforce Knowledge Metadata API
Example Package Manifest
The following is an example package manifest used to deploy or retrieve the Account settings metadata for an organization.
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Search</members>
<name>Settings</name>
</types>
<version>37.0</version>
</Package>
SearchLayouts
SearchLayouts
Represents the metadata associated with the Search Layouts for an object. You can customize which fields to display for users in search results, search filter fields, lookup dialogs, and recent record lists on tab home pages.
For more information, see ”Customize Search Layouts” and ”Customize Search Layouts for Custom Objects” in the Salesforce online help.
Version
Search layouts for custom objects are available in API version 14.0 and later. The ability to modify search layouts for standard objects
(except events and tasks) is available in API version 27.0 and later.
Fields
Field customTabListAdditionalFields
Field Type string[] excludedStandardButtons listViewButtons string[] string[] lookupDialogsAdditionalFields string[]
Description
The list of fields displayed in the Recent
Object Name list view on a tab associated with the object. The name field is mandatory and is always displayed as the first column header, so it is not included in this list; all additional fields are included. The field name relative to the object name, for example
MyCustomField__c
, is specified for each custom field.
The list of standard buttons excluded from the search layout.
The list of buttons available in list views for an object.
This field is equivalent to the Buttons Displayed value in the
Object Name List View in the Search Layouts related list on the object detail page in the Salesforce user interface. For more information, see “Standard and Enhanced
Lookups in Salesforce Classic” in the Salesforce online help.
The list of fields displayed in a lookup dialog for the object.
The name
field is mandatory and is always displayed as the
160
Salesforce Knowledge Metadata API
Field lookupFilterFields lookupPhoneDialogsAdditionalFields searchFilterFields
Field Type string[] string[] string[]
SearchLayouts
Description first column header, so it is not included in this list; all additional fields are included. The field name relative to the object name, for example
MyCustomField__c
, is specified for each custom field.
Salesforce objects often include one or more lookup fields that allow users to associate two records together in a relationship. For example, a contact record includes an
Account lookup field that represents the relationship between the contact and the organization with which the contact is associated. A lookup search dialog helps you search for the record associated with the one being edited. Lookup filter fields allow you to filter your lookup search by a customized list of fields in the object.
This field is equivalent to the Lookup Dialogs in the
Search Layouts related list on the object detail page in the application user interface. For more information, see
“Standard and Enhanced Lookups in Salesforce Classic” in the Salesforce online help.
The list of fields that can be used to filter enhanced lookups for an object. Enhanced lookups are optionally enabled by your administrator. The field name relative to the object name, for example MyCustomField__c , is specified for each custom field.
This field is equivalent to the Lookup Filter Fields in the Search Layouts related list on the object detail page in the application user interface. For more information, see
“Standard and Enhanced Lookups in Salesforce Classic” in the Salesforce online help.
The list of phone-related fields displayed in a lookup dialog for the object. The name field is mandatory and is always displayed as the first column header, so it is not included in this list; all additional fields are included. The field name relative to the object name, for example
MyCustomField__c
, is specified for each custom field.
This list enables integration of the fields with a softphone dial pad.
This field is equivalent to the
Lookup Phone Dialogs in the Search Layouts related list on the object detail page in the application user interface.
The list of fields that can be used to filter a search for the object. The field name relative to the object name, for example MyCustomField__c , is specified for each custom field.
161
ダウンロード
広告