open-project-browser-modal

How to get open-project-browser-modal

Depend on fontoxml-project-browser to make this operation available.

Opens the project browser.

Imported operation data

Name Type Description
insertOperationName 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'.

linkableElementsQuery XPathQuery

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


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

modalPrimaryButtonLabel String

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


  Default value
"t__Insert"
modalTitle String

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


  Default value
"t__Select an element"
documentId DocumentId

(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

nodeId 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

Name Type Description
documentId DocumentId

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

nodeId NodeId

The nodeId of the selected node.