setContextNodeIdToTopicrefReferencingCurrentDocument

Type: Transform step

Set the contextNodeId step data property to either the NodeId of the topicref referencing the document containing the selection, or to the topicref or map containing the selection if the selection is in a DITA map document. This can be used to insert new topicref elements based on the position of the cursor.

Exported operation data

  1. contextNodeId

    Type: NodeId