Get Started with Revenue Management Developer Resources
Revenue Management Settings
Flow for Product Discovery
ProductDiscoverySettings
Previous Versions
Represents the settings for Product Discovery.
This type extends the Metadata metadata type and inherits its fullName field.
In the package manifest, all the settings metadata types for the org are accessed using the “Settings” name. See Settings for more details.
ProductDiscoverySettings values are stored in the ProductDiscoverySettings.settings file in the settings folder. The .settings files are different from other named components, because there is only one settings file for each settings component.
ProductDiscoverySettings components are available in API version 62.0 and later.
| Field Name | Field Type | Description |
|---|---|---|
enableGuidedSelling | boolean | Indicates whether guided product selection is enabled (true) or not (false). Using guided product selection, you can manage dynamic forms that assess user requirements and show relevant products. The default value is false. Available in API version 63.0 and later. |
enableProdDiscConstraintRules | boolean | Indicates whether to enable the Constraint Rules Engine within Product Discovery (true) or not (false). The default value is false. If set to true, this setting activates constraint-based configuration rules so that the Constraint Rules Engine evaluates product selections during configuration. This step determines valid combinations based on defined constraints. Available in API version 67.0 and later. |
discoverProductsFlowNameOrgValue | string | Name of the custom flow for browsing and adding products. If this field isn’t specified, the Discover Products flow is used for browsing and adding products. Available in API version 63.0 and later. |
prodDiscBrowseContextDefOrgValue | string | Context definition that gets updated based on the user-selected options and provides summary data. |
prodDiscDefaultCatalogOrgValue | string | Default catalog that determines the products to be displayed on the product list page. Available in API version 64.0 and later. |
prodDiscPricingEnabledOrgValue | string | Indicates whether pricing is enabled (true) or not (false). The default value is false. |
prodDiscProcedureOrgValue | string | Pricing procedure that calculates the list price. |
prodDiscQualEnabledOrgValue | string | Indicates whether product qualification is enabled (true) or not (false). The default value is false. |
prodDiscQualificationOrgValue | string | Qualification procedure that determines product eligibility. |
The following is an example of a ProductDiscoverySettings component.
1<ProductDiscoverySettings xmlns="http://soap.sforce.com/2006/04/metadata">
2 <enableGuidedSelling>true</enableGuidedSelling>
3 <discoverProductsFlowNameOrgValue>revenue_products__DiscoverProducts</discoverProductsFlowNameOrgValue>
4 <prodDiscPricingEnabledOrgValue>true</prodDiscPricingEnabledOrgValue>
5 <prodDiscQualEnabledOrgValue>true</prodDiscQualEnabledOrgValue>
6 <prodDiscProcedureOrgValue>PricingProcedure</prodDiscProcedureOrgValue>
7 <prodDiscQualificationOrgValue>QualificationProcedure</prodDiscQualificationOrgValue>
8 <prodDiscBrowseContextDefOrgValue>BrowseContextDefinition</prodDiscBrowseContextDefOrgValue>
9</ProductDiscoverySettings>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>ProductDiscovery</members>
5 <name>Settings</name>
6 </types>
7 <version>68.0</version>
8</Package>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.