The following example shows how to add a URL to a document attached to a DITA map that was already uploaded to Fluid Topics:
-
Create a
FluidTopicsControlfile.xml
control file with anoriginUrl
element as follows.1. Compress the<?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>https://my_target_website.com</originUrl> </attachment> </attachments> </instance> </instances> </resource> </resources> </controlFile>
FluidTopicsControlFile.xml
file in a ZIP archive. 1. Upload the ZIP archive to Fluid Topics through the source used to publish the attachment.
Only URLs beginning with http://
or https://
resolve correctly in Fluid Topics.