Update a DITA map attachment with a control file - Fluid Topics - Latest

Map Attachments

Category
Technical Notes
Audience
public
Version
Latest

Authorized administrators can update an existing resource attached to a DITA map as follows:

  1. Create a FluidTopicsControlFile.xml file and define a new value for the displayName, as in the following example:

    <?xml version="1.0" encoding="UTF-8"?>
    <controlFile> 
        <resources>
            <resource>
                <filePath>my_map.ditamap</filePath>
                <instances>
                    <instance>
                        <filePath>version1.ditaval</filePath>
                        <attachments>
                            <attachment>
                                <khubId>$ATTACHMENT_KHUB_ID</khubId>
                                <displayName>The new name for my attachment</displayName>
                            </attachment>
                        </attachments>
                    </instance>
                </instances>
            </resource>
        </resources>
    </controlFile>
    
  2. Compress the FluidTopicsControlFile.xml file and the file(s) to attach in a ZIP archive.

  3. In the Process content administration interface, upload the ZIP archive through the same DITA source as that used to publish the original map attachment.