method
FieldAuthoringHost.copySchemaPayload
Copy an item's ordinary field data and give its schema-declared nested rows/items fresh IDs. Use when duplicating to avoid sharing identities. This does not insert the copy or copy your outer plugin item; update that structure in your editor.
Arguments
| Argument | Type | Description |
|---|---|---|
scope | EmbeddedSchemaVariantScope | The scope value. |
payload | Readonly< | The payload value. |
Returns
The declared result.
Record<string, unknown>Full signature
FieldAuthoringHost.copySchemaPayload(
scope: EmbeddedSchemaVariantScope,
payload: Readonly<Record<string, unknown>>,
): Record<string, unknown>Related types
EmbeddedSchemaVariantScopeSelect a Go-declared embedded variant when creating or copying an item's field data.