open-open-or-create-document-browser-modal

Type: Operation

Opens the document browser on open in which the user can select a document. When the modal is open, the user can switch to the create document form, to create a new document by choosing a template.

Imported operation data

  1. browseContextDocumentId

    (Required)

    Type: RemoteDocumentId|null

    (Optional) This id is sent to the CMS when the browse call is made. If the CMS resolves a hierarchy for a reference in the metadata of a reference, the folder containing the browseContextDocument will be opened.

    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. openDocumentDataProviderName

    (Required)

    Type: String

    Default value

    Type: String

    JSON

    "dataProviderUsingConfiguredConnectorsForDocuments"
  3. selectDocumentTemplateDataProviderName

    (Required)

    Type: String

    Default value

    Type: String

    JSON

    "dataProviderUsingConfiguredConnectorsForDocumentTemplates"
  4. selectFolderDataProviderName

    (Required)

    Type: String

    Default value

    Type: String

    JSON

    "dataProviderUsingConfiguredConnectorsForDocumentFolders"
  5. insertOperationName

    (Required)

    Type: String

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

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

  6. isCancelable

    (Required)

    Type: Boolean

    (Optional) Whether or not the modal is cancelable (with a cancel button in the footer or by pressing the escape key), defaults to true.

    Default value

    Type: Boolean

    JSON

    true
  7. modalIcon

    (Required)

    Type: String

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

  8. modalTitle

    (Required)

    Type: String

    (Optional) The title being shown at the top of the modal. Defaults to t__Open or create document.

Exported operation data

  1. documentId

    (Open document) The documentId of the selected document.

  2. remoteDocumentId

    (Open document) The remoteDocumentId of the selected document.

  3. selectedDocumentTemplateId

    (create document) The remoteDocumentId of the selected document template.

  4. selectedFolderId

    Type: FolderId

    (create document) The folderId of the selected folder.

  5. documentTitle

    Type: String

    (create document) The specified document title.