open-document-with-link-selector-browser-modal
Type: Operation
Opens the document with link selector browser in which the user can select a node.
Imported operation data
browse
Context Document Id (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.
data
Provider Name (Required)
Type: String
Default value
Type: String
JSON
"dataProviderUsingConfiguredConnectorsForDocuments"
document
Id (Required)
Type: DocumentId
(Optional) Can be used to open the document with link selector browser with a node preselected. Should only be used in combination with nodeId.
insert
Operation Name (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'.
linkable
Elements Query (Required)
Type: XPathQuery
(Optional) Selector used to find the nodes which can be selected by the user. Defaults to
//*[@id]
.Default value
Type: String
JSON
"//*[@id]"
modal
Icon (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.
modal
Primary Button Label (Required)
Type: String
(Optional) The label for the primary button. Defaults to
t__Insert
.modal
Title (Required)
Type: String
(Optional) The title being shown at the top of the modal. Defaults to
t__Select a link
.node
Id (Required)
Type: NodeId
(Optional) Can be used to open the document with link selector browser with a node preselected. Should only be used in combination with documentId.
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
document
Id Type: DocumentId
The documentId of the document where the selected node is in.
node
Id Type: NodeId
The nodeId of the selected node.