You are here:
Clone a Context Definition
When you create a context definition, manually entering attributes and tags can be time-consuming, especially if your node has several attributes. To save time, clone an existing context definition and modify it based on your requirements. When cloning an extended context definition, you can also preserve the inheritance to the parent context definition.
Required Editions
| Available in: Lightning Experience |
| Available in: Developer, Enterprise, Professional, and Unlimited editions for Industries clouds where Context Service is enabled |
| User Permissions Needed | |
|---|---|
| To clone context definitions: | Context Service Admin |
| FEATURE | CLONE CONTEXT DEFINITION | EXTEND CONTEXT DEFINITION |
|---|---|---|
| Applicable To | Both Standard and Custom Definitions | Only Standard Definitions |
| Upgrades | Not available for standard definitions (no automatic upgrades) Available for clones of extended definitions with Preserve Inheritance enabled. |
Available (Auto upgrade and Sync Now option available) |
| Customizations | Customizable (can edit, delete, or add components) | Only additive changes are allowed (to add new components) |
| Editing Standard Components | Edit or delete components, including standard components | Can't edit or delete standard components |
| Use Case | Full flexibility for creating a custom definition | Customization on top of the Standard Definition, while preserving all the standard components |
Important The newly cloned context definitions show the same active or inactive
state as the context definition from which it's cloned.
While cloning an extended definition, if Preserve Inheritance is selected, the new clone is created in an inactive state so you can edit it before activating it.
- From Setup, in the Quick Find box, enter Context Service, then select Context Definitions.
-
For the context definition that you want to clone, click
, and then select Clone.
- Give your new cloned context definition a name.
-
While cloning an extended definition, to maintain the inheritance to the parent
standard definition, select the Preserve Inheritance
checkbox.
When you preserve inheritance, your cloned definitions, including all custom nodes, attributes, and mappings, remain eligible for upgrades in future releases.
-
Save your changes.
Note Definitions that are cloned from a standard definition aren’t auto upgraded.
此文章是否解決您的問題?
請讓我們知道,以便我們改進!

