Edit a copy profile

Note

To configure copy profiles, you must either be a superuser or have the necessary permissions granted to you through user group policies.

To edit a copy profile:

  1. On the menu bar, click Manage cog icon.

  2. On the Manage page, click Copy profiles.

  3. On the Copy profiles page, on the desired copy profile, click edit pencil icon.

  4. Make any changes you need to the following fields:

    Field

    Description

    Mandatory

    Name

    The name of the copy profile

    Yes

    Definition

    The entity to which the copy profile applies

    Yes

    Configuration

    The JSON configuration of the copy profile, automatically populated with properties from the chosen Definition type. You can apply the following methods:

    • Keep - applies the member value of the source entity (default method).

    • Ignore - ignores the source member value and keeps the target member value.

    • Remove - removes the member in the target entity.

    • Overwrite - overwrites the value on the target member.

    • Append - adds a new reference to a member value of type array in the target entity.

    No

  5. Click Save.

Example of a copy profile

The following example shows an excerpt of a copy profile:

RequestResponse

{
  "properties": [
    {
      "method": "Keep",
      "name": "ProductName"
    },
    {
      "method": "Ignore",
      "name": "PublishStatus"
    },
    ...
    {
      "method": "Overwrite",
      "value": true,
      "name": "M.PCM.Product.IsVariant"
    },
  ],
  "relations": [
    {
      "method": "Keep",
      "name": "PCMProductFamilyToProduct"
    },
    ...
    {
      "method": "Remove",
      "name": "ProductToProductDraft"
    },
    {
      "method": "Keep",
      "name": "DraftLifeCycleStatusToProduct"
    }
  ]
}{
 "properties": [
  {
   "method": "Keep",
   "name": "ProductName"
  },
  {
   "method": "Ignore",
   "name": "PublishStatus"
  },
  ...
  {
   "method": "Overwrite",
   "value": true,
   "name": "M.PCM.Product.IsVariant"
  },
 ],
 "relations": [
  {
   "method": "Keep",
   "name": "PCMProductFamilyToProduct"
  },
  ...
  {
   "method": "Remove",
   "name": "ProductToProductDraft"
  },
  {
   "method": "Keep",
   "name": "DraftLifeCycleStatusToProduct"
  }
 ]
}

Do you have some feedback for us?

If you have suggestions for improving this article,