open-document-template-browser-modal

Type: Operation

Opens the document template browser in which the user can select a document template.

Imported operation data

  1. browseContextDocumentId

    (Required)

    Type: RemoteDocumentId|null

    (Optional) This id is sent to the CMS when the browse call is made.

    By default the browseContextDocument is set to the focusedDocument or, when the focusedDocument is not available, to the first document in the hierarchy.

    If set to null, no reference document ID will be sent to the CMS.

  2. dataProviderName

    (Required)

    Type: String

    Default value

    Type: String

    JSON

    "dataProviderUsingConfiguredConnectorsForDocumentTemplates"
  3. insertOperationName

    (Required)

    Type: String

    (Optional) The primary button will be disabled if the selected document template can't be inserted with the 'insert operation'.

    The operation data collected until the current operation together with the selected document template, will be added as initial data to the 'insert operation'.

  4. modalIcon

    (Required)

    Type: String

    (Optional) The icon to show at the top of the modal. This should be one of the Fontawesome (v4.7.0) icons. Do not include the fa- prefix, just use the icon names as-is from the documentation.

  5. modalPrimaryButtonLabel

    (Required)

    Type: String

    (Optional) The label for the primary button. Defaults to t__Select.

  6. modalTitle

    (Required)

    Type: String

    (Optional) The title being shown at the top of the modal. Defaults to t__Select a template.

  7. query

    (Required)

    Type: object|null

    (Optional) Any extra properties that should be included onto the "query" request parameter in CMS requests made to POST /browse by this component.

Exported operation data

  1. remoteDocumentId

    The remoteDocumentId of the selected document template.