Upload an ftmap with an attachment - Fluid Topics - Latest

Map Attachments

Category
Technical Notes
Audience
public
Version
Latest

Authorized administrators can attach one or more resources to an Ftmap when publishing it.

Example

The following ftmap shows an exhaustive example of the types of attachments that can be added to an ftmap:

<ft:map xmlns:ft="http://ref.fluidtopics.com/v3/ft#" ft:lang="en-US" ft:originId="ftmap_id" ft:title="Time Machine User Guide"
    ft:editorialType="book">
    <ft:rights accessLevel="restricted">
        <ft:groups>
            <ft:group>Expert</ft:group>
        </ft:groups>
    </ft:rights>
    <ft:metas>
        <ft:meta key="Status" type="stringTree">Market-Ready</ft:meta>
        <ft:meta key="Version" type="string">2.0</ft:meta>
        <ft:meta key="audience" type="string">Expert</ft:meta>
    </ft:metas>
    <ft:toc>
        <ft:node ft:originId="first_topic" href="topics/intro_to_time_machines.html" ft:title="Introduction to Time Machines" type="topic">
            <ft:node ft:originId="origin_id" href="topics/how_to_time_travel.html" ft:title="How to Time Travel" type="topic">
            </ft:node>
        </ft:node>
    </ft:toc>
    <ft:attachments>
        <ft:attachment>
            <ft:filePath>attachments/drawing.png</ft:filePath>
        </ft:attachment>
        <ft:attachment>
            <ft:originId>spare_parts</ft:originId>
            <ft:filePath>attachments/Spare_Part_Price_List.pdf</ft:filePath>
            <ft:filename>time_machine_spare_part_prices.pdf</ft:filename>
            <ft:displayName>Spare Part Price List</ft:displayName>
            <ft:mimeType>application/pdf</ft:mimeType>
        </ft:attachment>
        <ft:attachment>
            <ft:originId>mounting_scheme</ft:originId>
            <ft:url>https://timemachines.com/time-machine.jpg</ft:url>
            <ft:displayName>Time Machine Mounting Scheme</ft:displayName>
            <ft:mimeType>image/jpeg</ft:mimeType>
        </ft:attachment>        
    </ft:attachments>
</ft:map>

Once uploaded successfully, the map attachments of the Time Machine User Guide are available in the Attachments tab of the Reader page.