Create a Detach variant operation
To configure the Variants feature, you must either be a superuser or have the necessary permissions granted to you through user group policies.
You can save a variant as a standalone entity by applying a copy profile to detach it from its original entity, which involves configuring an Overwrite values operation, as follows:
-
On the menu bar, click Manage
.
-
On the Manage page, click Pages.
-
On the Pages page, click the target entity page.
-
In the Entity operations page component, add an Overwrite values operation.
-
To add a copy profile configured to detach a variant, click
, and select the copy profile in the list.
-
Click Save.
To detach a variant from the original entity, the copy profile used should at least contain the following:
{
"method": "Remove",
"name": "{Definition}To{Definition}Variant"
},
{
"method": "Overwrite",
"value": false,
"name": "M.{Definition}.IsVariant"
}
When used, this operation has the following effects:
-
Removing the {Definition}To{Definition}Variant member disconnects the variant and the original entity.
-
The method to overwrite the M.{Definition}.IsVariant member with the value false causes the entity to become an original, instead of a variant.
This configuration example provides more information about configuring the detach variant copy profile.