1. Variants

Create a Detach variant operation

Note

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:

  1. On the menu bar, click Manage .
  2. On the Manage page, click Pages.
  3. On the Pages page, click the target entity page.
  4. In the Entity operations page component, add an Overwrite values operation.
  5. To add a copy profile configured to detach a variant, click , and select the copy profile in the list.
  6. 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.
Note

This configuration example provides more information about configuring the detach variant copy profile.

If you have suggestions for improving this article, let us know!