Update the title of an unstructured document - Fluid Topics - Latest

Unstructured Documents Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

To update the title previously assigned to an unstructured document:

  1. Create or edit a FluidTopicsControlFile.xml file.
  2. Add a <meta key="ft:title"> metadata key with a <value> element containing the new title.
  3. Upload an archive containing the updated FluidTopicsControlFile.xml file.

Example

The following lines show an example of a control file that updates the title of an unstructured document:

<?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>
            <metas>
                <meta key="Environment">
                    <value>Land</value>
                </meta>
                <meta key="ft:title">
                    <value>Tiny Cat in the Courtyard</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 FluidTopicsControlFile.xml.