Create products by cloning existing products and their related information such as
attributes, child components, and selling models. Use deep cloning to reduce manual effort and
quickly create products that are similar to the existing products. Leverage context service
capabilities to customize the deep clones of custom objects and fields that are not included in
the available default context definition.
Customize the product deep clone settings to add the appropriate context definition and
expression set.
Required Editions
User Permissions
Needed
To set up a product deep clone:
Product Designer
From Setup, in the Quick Find Box, enter Deep Clone Product
Settings, and select it.
Select the required context definition and expression set.
You can choose only the ProductDeepCloneContext context definition or a context
definition extended from ProductDeepCloneContext.
ProductDeepCloneContext is
available as the default context definition. You can extend the
ProductDeepCloneContextcontext definition to add standard or custom fields and
objects.
Always define context tags on relationship nodes, not on canonical nodes. When
performing ExpressionSet calculations, reference context tags from these relationship
nodes.
Example
Scenario 1: Include a custom field.
You have a custom field on a
Product X and want it included in the deep-cloned product, you need to include this custom
field in the product X deep clone definition. Extend the product X deep clone definition to
include the custom field. Make sure to map this field to the corresponding SObject field in
the context mapping.
Scenario 2: Include an extended object.
You have an
extended object related to Product X and want to include it in the deep cloned product,
extend the product X deep clone definition to include the extended object. Define the
appropriate relationship mapping between the two objects within the context definition.
Include the fields of the extended object that you want to deep clone.
Scenario 3:
Modify field values.
If the current product has a date field set to "TODAY,"
and you want the cloned product to have a date field set to "TODAY + 10 days," you can
define a rule within the expression set to achieve this. Further, the date field must be
present in the context definition and must have a context tag defined.
Deep Clone a Product
Create a complete and independent copy of a product, including all related entities
such as attributes, child components, and selling models.
Required Editions
User Permissions
Needed
To deep clone a product:
Product Designer
From the Product Catalog Management app’s home page, click
Products.
In the product list page, from the quick action menu dropdown list, select
Deep Clone.
In the Deep Clone Product window, provide a name for the product and click
Deep Clone.
The product is deep cloned. The deep clone summary provides information on
the number of records created for each object. To view the cloned product, click
View Cloned Product.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.