Skip to content

Column Advanced Settings: Option List: Copy Child Records Simultaneously When Copying

Overview

When you "Copy" or "Reference Copy" the parent record of a "Linked Table", you can "Copy" the related child "Record" at the same time. This can be set simultaneously with "Delete Child Records Simultaneously When Deleting".

Limitations

  1. Only "Class Column" can be used.

Prerequisites

  1. "Site Administration Permission" is required to configure settings.

Operation Procedure

Specify the "Link" in JSON format in the "Option List" of the corresponding class column. The description method is the same as "Manage Table: Editor: Column Advanced Settings: Option List: Filter, Sort,".

Example Setting 1

In the example below, site ID 6 is "Linked", and when a "Record" from site ID 6 is "Copied", the related child "Record" is automatic "Copied". The string "- copy" is added to the end of the "Title". "Comment" is not copied.

JSON
[
    {
        "SiteId": 6,
        "LinkActions": [
            {
                "Type": "CopyWithLinks",
                "CharToAddWhenCopying": " - copy",
                "CopyWithComments": false
            }
        ]
    }
]

Setting Content

No Option Description
1 Type Specify "CopyWithLinks".
2 CharToAddWhenCopying Specify "Characters to Add When Copying". If omitted, the setting of "Manage Table" will be used.
3 CopyWithComments Specify true/false whether to copy comments. If omitted, it will be false.
4 View: ColumnFilterHash You can narrow down the "Copy" target by using "JSON Data Layout: View".

Supported Versions

  1. Pleasanter 1.2.5.0 or later
  2. Pleasanter .NET Framework version 0.50.268 or later