Example to remove a map attachment from one instance of a DITA map - Fluid Topics - Latest

Map Attachments

Category
Technical Notes
Audience
public
Version
Latest

The pufferfish.pdf file is attached to the Animals DITA map in two instances, Novice and Intermediate. The file's khubIdis vQlcqgYveKfDv53M5zn82Q.

The following lines show how to remove the pufferfish.pdf file from the Novice instance of the Animals DITA map:

<?xml version='1.0' encoding='utf-8'?>
<controlFile>
  <resources>
    <resource>
      <filePath>_animals.ditamap</filePath>
      <instances>
        <instance>
          <filePath>Novice.ditaval</filePath>
          <attachments>
            <attachment>
              <isAttached>false</isAttached>
              <khubId>vQlcqgYveKfDv53M5zn82Q</khubId>
            </attachment>
          </attachments>
        </instance>
      </instances>
    </resource>
  </resources>
</controlFile>

Once published to Fluid Topics, the pufferfish.pdf file is no longer available in the Attachments tab when viewing the Novice instance of the Animals DITA map.