Example to remove a URL from a map attachment - Fluid Topics - Latest

Map Attachments

Category
Technical Notes
Audience
public
Version
Latest

The following example shows how to remove a URL from a document attached to a DITA map that was already uploaded to Fluid Topics:

  1. Create a FluidTopicsControlfile.xml control file with an originUrl element as follows.

    <?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>
                                <originUrl></originUrl>
                            </attachment>
                        </attachments>
                    </instance>
                </instances>
            </resource>
        </resources>
    </controlFile>
    
  2. Compress the FluidTopicsControlFile.xml file in a ZIP archive.

  3. Upload the ZIP archive to Fluid Topics through the source used to publish the attachment.