open-project-browser-modal

Type: Operation

Opens the project browser.

Imported operation data

  1. insertOperationName

    (Required)

    Type: String

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

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

  2. linkableElementsQuery

    (Required)

    (Optional) Selector used to find the nodes which can be selected by the user. Defaults to //*[@id]

    Default value

    Type: String

    JSON

    "//*[@id]"
  3. 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.

  4. modalPrimaryButtonLabel

    (Required)

    Type: String

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

    Default value

    Type: String

    JSON

    "t__Insert"
  5. modalTitle

    (Required)

    Type: String

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

    Default value

    Type: String

    JSON

    "t__Select an element"
  6. documentId

    (Required)

    (Optional) The document id of the document which should be preselected. This option is commonly used when the modal is used in an edit flow. Should only be used in combination with nodeId

  7. nodeId

    (Required)

    Type: NodeId

    (Optional) The node which should be preselected in the preselected document. This option is commonly used when the modal is used in an edit flow. Should only be used in combination with documentId

Exported operation data

  1. documentId

    The documentId of the document where the selected node is in.

  2. nodeId

    Type: NodeId

    The nodeId of the selected node.