Administrators can define a topic's metadata by uploading a control file synchronously.
The following shows an example of a control file that defines metadata for a topic:
| document (filePath) | topic (originId) | ft:clusterId | ft:description | ft:originId | ft:title | ft:locale | ft:lastEdition | product | |
|---|---|---|---|---|---|---|---|---|---|
| inheritance | yes | yes | yes | yes | yes | yes | yes | ||
| path/to/document_id.h | original_topic_id | new_cluster_id | new_description | new_origin_id | new_title | en-GB | new_last_edition | new_product_name |
<?xml version="1.0" ?>
<controlFile>
<resources>
<resource lang="en-GB">
<filePath>path/to/document_id.h</filePath>
<topics>
<topic>
<selector>
<originId>original_topic_id</originId>
</selector>
<originId>new_origin_id</originId>
<clusterId>new_cluster_id</clusterId>
<title>new_title</title>
<description>new_description</description>
<lastEdition>new_last_edition</lastEdition>
<metas>
<meta key="product">
<value>new_product_name</value>
</meta>
</metas>
</topic>
</topics>
</resource>
</resources>
</controlFile>