Changing External Related Link into External Related Link to Newly-Created Document

To create a new DITA document and make it the target of an existing external related link, do the following:

  1. Place the cursor in the related link.
  2. Call up the Change External Related Link Dialog.

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

  3. 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.



  4. 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.

  5. The target is selected automatically.

    In the Change 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.



  6. Specify Attributes as needed:
    1. Select a format.
      From the Format drop-down list, select one of the following:
      • dita

      • html

      • pdf

      • ditamap

    2. Select a type.

      From the Type drop-down list, select a type: e.g. concept, task, etc.

    3. Select a scope.
      From the Scope drop-down list, select one of the following:
      • local

      • peer

      • external

  7. Click the Change button to change the related link.
  8. Click the Close button to close the dialog.
    Note:

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

Related tasks
Changing External Related Link into External Related Link to Existing Document