createNewDocumentFromRemoteTemplate

Type: Action step

Create a new document using the given template.

This replaces all identifiers in the template according to the configured unique-id-configurations.

Imported operation data

  1. contextNodeId

    Type: ContextNodeId

    Uses this to determine the referrer document if the stepData.referrerDocumentId is not supplied. If neither referrerDocumentId nor contextNodeId is set, the CMS request will not include a referrer document.

  2. referrerDocumentId

    The document identifier of the referrer document. Defaults to the document containing the context node if the contextNodeId is supplied. If neither referrerDocumentId nor contextNodeId is set, the CMS request will not include a referrer document.

  3. templateRemoteDocumentId

Exported operation data

  1. documentId

  2. remoteDocumentId