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¶
- Only "Class Column" can be used.
Prerequisites¶
- "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¶
- Pleasanter 1.2.5.0 or later
- Pleasanter .NET Framework version 0.50.268 or later
Related Information¶
- Table Function: Copy Records
- Table Function: Record Reference Copy
- Table Function
- Manage Table: Editor: Column Advanced Settings: Option List: Delete Child
- Manage Table: Items: Class
- Manage Table: Editor: Column Advanced Settings: Option List: Link
- Manage Table: Editor: Column Advanced Settings: Option List
- Manage Table: Editor: Column Advanced Settings: Option List: Filter, Sort,
- Tenant Management Function: Logo, Title, Logo Image
- Manage Table: Items: Comments
- Manage Table: Editor: Characters to Add When Copying
- Manage Table
- Developer's Guide: JSON Data Layout: View