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

Upload FTML Content to Fluid Topics

Product
Fluid Topics
Fluid Topics Version
3.5
Category
Technical Notes
Language
English
Target Audience
public

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:khubItems>
<ft:khubItem type="map" ft:originID="map_id" metaAction="update">
<ft:metas>
<ft:meta key="ft:author">John Doe</ft:meta>
<ft:meta key="product" type="stringTree">Antidot|Fluid Topics</ft:meta>
</ft:metas>
</ft:khubItem>
</ft:khubItems>
</ft:controlFile>

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.