Import maps

The Import Maps wizard lets you add one or more maps authored outside IXIASOFT CCMS to the repository.

When you import a map, this map and its dependencies (for example, the map, topics, and images it refers to) are imported into the repository and assigned the initial status (for example, Authoring:Draft). If the map or topic being imported references a non-DITA resource such as PDF file or video, it is imported as a resource of the type "unknown", which allows it to be searchable from the Search view. Once imported, you can edit the resource to change the type from "unknown" to something more specific as required. If one of the map dependencies cannot be found (for example, one of its topics is missing), the import is cancelled and an error message is displayed.

When you import a map, its file name is added to the object's metadata in the originalFileName index and the path relative to its containing map is added to the object's metadata in the originalRelativePath index.

Note: Any document you import is automatically assigned to you.

You can specify the following options when importing maps:

Option Description
Import As External

When you import the document, it and its children (if any) are imported into the Content Store and assigned the Authoring:readonly status.

Update existing documents

When you import a document, the system determines if this document already exists.

If a document already exists and the Update existing documents option is selected, the existing document is updated with the contents of the imported document. If this option is not selected, a new document is created, with a new filename.

If the Use relative path along with file name to match documents to update option is also selected, the system also checks that the base path of the imported document matches the base path of the document in the Content Store. The system updates the existing document only if the paths match.

When you re-import an external document, this option is always enabled and the existing document and its children (if any) are always updated.

Default language

All documents in the Content Store must have a designated language. If the documents you are importing do not have a language attribute, the system will assign them the language you select from this list. If the document you are importing has children, this language will also be assigned to these children.

You can also set the Override unknown languages with default option. When you import documents that reference a language that’s not configured in your system, the system will replace these values with the default language specified if you select this option.

Images options If the maps you are importing reference images, you need to specify the type and format of the images.
  • Type is an informative label that is written into the image metadata. Default values are Line Art, Screen Capture, and Equation.

    If an image is labeled Line Art or Screen Capture, the system will automatically designate it as Needing Translation. Images labeled Equation are not designated as needing translation; if these images are part of a map that is sent for localization, the system will automatically promote them to the review state and will not include them in the image localization kit.

    You can set the translation designation for specific images as required once the image has been imported, and the image type may be changed once the image is in the Content Store.

  • Format may determine the output format of an image, depending on your system setup.
Labels You can assign one or more labels to a document and its children (if any). Labels are added as metadata and improve searchability.
Import options
MAP IDs: Retain root map IDs If this option is not selected, the map is assigned a new ID by the system. This will be used as both the file name and as the map root ID. The imported map’s root ID is overwritten.

If this option is selected, then the value of the imported map ID remains unchanged on import and this ID is also used as the document file name. If there is a conflict with an existing map ID, the system informs you of the conflict and cancels the import.

Topicrefs: Remove @navtitle and @type from <topicref> containing @href If this option is selected, then navtitle and type attributes are removed from <topicref> elements containing an href attribute when the map is imported.

When you are authoring DITA documents, there are several ways that you can specify topic attributes such as type and title: at the map level and at topic level. The system does not maintain map attributes automatically. If you keep these in the map, then you’ll need to update them manually if, for example, you change the title of a topic.

Images: If this option is selected and there are two (or more) images with the same filename, then the system imports just one of them (randomly). If you leave this check box empty, then all images are imported, they keep their duplicate titles, and the system assigns unique filenames.
Resources: If this option is selected and there are two (or more) resources with the same filename, then the system imports just one of them (randomly). If you leave this check box empty, then all resources are imported, keep their duplicate titles, and the system assigns filenames.
Import Base Path: Specifies the base path to use when replacing existing documents.
Important: The filename and base path of the imported object are important when you intend to replace an existing object. See Re-importing and updates to existing files for more information.

To import one or more maps and its dependencies:

  1. Select File > Import.
    The Import dialog appears.
  2. Open the IXIASOFT CCMS folder and select Import Maps (DRM).
  3. Click Next.
    The Import Map(s) dialog appears.
    Import Maps window
  4. Click Browse.
    The Open dialog appears.
  5. Navigate to the *.ditamap file(s), select them, and click Open.
    The selected maps appear in the Maps to import list.
  6. (Optional): To import as a read-only object, select the Import As External checkbox.
    Note: As a result of selecting this option, several other features are set to default values and disabled.
  7. (Optional): To replace existing documents with the contents of the imported documents, select the Update existing documents checkbox. To also use the relative path to match the documents to update, select Use relative path along with file name to match documents to update.
    If you select Use relative path along with file name to match documents to update, you must specify the base path of the imported file in a later step.
  8. (Optional): In the Default language list, choose the language you want set for the file. If you want to overwrite the language attribute set in the imported file with the selected language, select the Override unknown languages with default checkbox as well.
  9. In the Images options section, choose the type of images in the Type list and the output format in the Format list for the images referenced in the document.
  10. (Optional): To assign a label, do the following:
    1. In the Labels section, click Select and add one or more labels.
    2. Click OK when done.
  11. Click Next.
  12. Select the Map IDs checkbox to keep the existing IDs. Clear the checkbox if you want new IDs assigned upon import.
  13. Select the Topicrefs checkbox to remove the navtitle and type attributes from <topicref> elements that contain an href attribute upon import. Clear the checkbox if you do not want the attributes removed.
  14. (Optional): To import only one instance of images with the same filename, select the Images checkbox.
    Clear the checkbox if you want all images imported and assigned unique filenames.
  15. (Optional): To import only one instance of resources with the same filename, select the Resources checkbox.
    Clear the checkbox if you want all resources imported and assigned unique filenames.
  16. (Optional): In the Import base path box, type the base path to use when replacing existing documents.
    Important: If you selected Use relative path along with file name to match documents to update, you must specify the base path of the imported file in the Import base path box. This step is not optional.

    The base path of the imported file must match the base path of the object in the Content Store (originalRelativePath index).

  17. Click Next.
    The Select Versions dialog appears.
  18. Do one of the following:
    • To import the map in a product, click the Products tab and then select the product in which to import the map.
    • To import the map in a library, click the Libraries tab and then select the library in which to import the map.
    You can import maps in a single product or library only, but you can import it in more than one versions inside the product or the library.
    The releases and versions available for the selected product or library are displayed in the Selected Products/Libraries, Releases, and Versions pane.
  19. In the Selected Products/Libraries, Releases, and Versions pane, select the versions to which you would like to add the imported map.
    Use the filter at the bottom of the pane to filter the versions in the list by release name.
    The Primary Version drop-down list is populated with the list of selected versions.
  20. In the Primary Version list, select the primary version for the map.

    The primary version is the version for which the map was initially created.

  21. Click Finish.