Delete a DITA map with no DITAVAL instances - Fluid Topics - Latest

DITA Connector Configuration Guide

Category
Technical Notes
Audience
public
Version
Latest

It is possible to delete a DITA map with no DITAVAL instances as follows:

  1. Create a control file, or edit an existing one.
  2. In the <originId> element, enter the <originId> of the DITA document to modify.
  3. In the <publishStatus> element, enter the value deleted.
  4. Create an archive containing the control file.
  5. Upload the archive through the DITA source used to publish the DITA map.

Users must name the control file FluidTopicsControlFile.xml, and they must place it at the root level of the archive.

It is not necessary to include the DITA map in the archive.

It is also possible to use the Delete a map web service.

Example:

The following lines show the content of a FluidTopicsControlFile.xml file to delete a DITA map with no DITAVAL instances:

<?xml version='1.0' encoding='utf-8'?>
<controlFile>
  <resources>
    <resource>
      <originId>origin_id_of_document</originId>
      <publishStatus>deleted</publishStatus>
    </resource>
  </resources>
</controlFile>