Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Record Template Clone

A record template containing the default information and data needed to clone a record. Use these values in a request to POST /ui-api/records.
Property Name Type Description Filter Group and Version Available Version
apiName String The record's object API name. Small, 49.0 49.0
cloneSourceId String The ID of the cloned record. This top-level property returns the same result as CloneSourceId in the fields property. Small, 52.0 52.0
fields Map<String, Field Value> A map of field data for the record.

The response includes only requested fields and CloneSourceId. If you don’t pass any fields, the response includes only CloneSourceId.

Small, 49.0 49.0
recordTypeId String The RecordType ID of the record. Small, 49.0 49.0