Inserting External Related Link to Newly-Created Document

To create a new target file and insert an external related link, do the following:

  1. Call up the Insert External Related Link Dialog.

    To call up the Insert External Related Link Dialog, choose DITA > Insert External Related Link or click the Insert External Related Link button on the toolbar.

  2. Call up the Create New DITA Document Dialog.

    To call up the Create New DITA Document Dialog, click the Create New DITA Document button .

    The Create New DITA Document Dialog will appear.

    Figure 1. Create New DITA Document Dialog.



  3. Create the new document.

    In the Create New DITA Document Dialog, do the following:

    1. Specify parameters for the new document.
      1. From the Template drop-down list, select a template for the new document.

      2. In the Title field, type the title of the new document.

      3. The Id field gets filled in automatically when you are typing the title.

      4. In the File field, specify the name of the new document.

        Note:

        The new document will be saved in the directory of the current document. To specify another location for saving the new document, use the Browse button.

    2. Click the Create button.

    The new document will be created.

  4. The target is selected automatically.

    In the Insert External Related Link Dialog, the newly-created document on the Files list and its top-level topic on the Targets list are automatically selected for insertion.



  5. Click the Insert button to insert the external related link.
  6. Click the Close button to close the dialog.
    Note:

    You can also check the Close on Insert checkbox, and then click the Insert button.

Related tasks
Inserting External Related Link to Existing Document