Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
QuoteSettings
In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for details.
File Suffix and Directory Location
QuoteSettings values are stored in a single file named Quote.settings in the settings directory of the corresponding package directory. The .settings files are different from other named components because there’s only one settings file for each settings component.
Version
QuoteSettings is available in API version 28.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| enableQuote | boolean | When set to true, users can access Quotes. |
| enableQuotesWithoutOppEnabled | boolean | When set to true, users can
create quotes independently of an opportunity. For example, a user
can create a quote for budgeting purposes, before creating the
Opportunity. Default value is false. When set to false, users can only create quotes from an Opportunity. Before setting to false, delete any quotes that do not have opportunities. Available in API version 47.0 and later. |
Declarative Metadata Sample Definition
The following is an example of the package file.
The package file references the following Quote.settings file.
Wildcard Support in the Manifest File
The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.