Update or Replace the Metadata of an FTML Map - Fluid Topics - 3.4 - Technical Notes

Upload FTML Content to Fluid Topics

Fluid Topics
Fluid Topics Version
Technical Notes
Target Audience

It is possible to modify the metadata associated with an FTML document.

The following lines show how to update metadata using the @metaAction attribute in the ft:khubItem element:

<?xml version="1.0" encoding="UTF-8"?>
<ft:controlFile xmlns:ft="http://ref.fluidtopics.com/v3/ft#">
<ft:khubItem type="map" ft:originID="map_id" metaAction="update">
<ft:meta key="ft:author">John Doe</ft:meta>
<ft:meta key="product" type="stringTree">Antidot|Fluid Topics</ft:meta>

This document now has the following two metadata elements:

  • Author: John Doe
  • Product: Antidot|Fluid Topics

Two actions are possible:

  • update (by default): the previous metadata are kept and updated following the metadata newly defined.
  • replace: all the previous metadata are deleted and replaced by the metadata newly defined.

- Semantic metadata, beginning with ft: prefix, can be modified but cannot be removed.

- There is no need to reupload the content to modify the metadata associated with an FTML map.