ProductDiscoverySettings

Represents the settings for Product Discovery.

Parent Type and Manifest Access 

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.

File Suffix and Directory Location 

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.

Version 

ProductDiscoverySettings components are available in API version 62.0 and later.

Fields 

Field NameField TypeDescription
enableGuidedSellingbooleanIndicates 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.
enableProdDiscConstraintRulesbooleanIndicates 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.
discoverProductsFlowNameOrgValuestringName 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.
prodDiscBrowseContextDefOrgValuestringContext definition that gets updated based on the user-selected options and provides summary data.
prodDiscDefaultCatalogOrgValuestringDefault catalog that determines the products to be displayed on the product list page. Available in API version 64.0 and later.
prodDiscPricingEnabledOrgValuestringIndicates whether pricing is enabled (true) or not (false). The default value is false.
prodDiscProcedureOrgValuestringPricing procedure that calculates the list price.
prodDiscQualEnabledOrgValuestringIndicates whether product qualification is enabled (true) or not (false). The default value is false.
prodDiscQualificationOrgValuestringQualification procedure that determines product eligibility.

Declarative Metadata Sample Definition 

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>

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.