duplicate

To create a duplicate of a given record

With this function, you create an exact duplicate of the record to which you apply this function. Also, linked data from sub-tables will be transferred.

Syntax

duplicate(nid)

Return

nid

Examples

duplicate(this)

Result: The current recordโ€”with all entriesโ€”is duplicated.

let newRecord := duplicate(this);
openRecord(newRecord)

Result: Creates a duplicate of the current record and opens it.

See also

Create and delete records

Last updated