To update the title previously assigned to an unstructured document:
- Create or edit an
FluidTopicsControlFile.xmlorFluidTopicsControlFile.xlsxfile. - Add a
<title>key containing the new title. - Upload an archive containing the updated
FluidTopicsControlFile.xmlorFluidTopicsControlFile.xlsxfile.
Example
The following example shows a control file that updates the title of an unstructured document:
metadata sheet
| document (filePath) | ft:title | ft:displayName | Environment | |
|---|---|---|---|---|
| cat.jpeg | Tiny Cat in the Courtyard | Land | ||
| koala.jpeg | Tiny Qoala in the Tree | Land |
<?xml version='1.0' encoding='utf-8'?>
<controlFile>
<resources>
<!-- To update an Unstructured Document and to give it a new title -->
<resource>
<filePath>cat.jpeg</filePath>
<originId>cat_image</originId>
<title>Tiny Cat in the Courtyard</title>
<metas>
<meta key="Environment">
<value>Land</value>
</meta>
</metas>
</resource>
<!-- To update an Unstructured Document Title and to give it a new <displayName> -->
<resource>
<filePath>koala.jpeg</filePath>
<originId>koala_image</originId>
<displayName>Tiny Qoala in the Tree</displayName>
<metas>
<meta key="Environment">
<value>Land</value>
</meta>
</metas>
</resource>
</resources>
</controlFile>
It is necessary to keep the <filePath> and <meta> elements from the previously uploaded unstructured document. Indeed, metadata specified in the <metas> node replaces the metadata previously set.
There is no need to include the unstructured documents in the archive. Users can upload an archive containing only an FluidTopicsControlFile.xml or FluidTopicsControlFile.xlsx.