update_document_class
Change a document's class in IBM FileNet Content Manager. Updates classification while preserving compatible properties. Requires prior class determination.
Instructions
PREREQUISITES IN ORDER: To use this tool, you MUST call determine_class first to get the new class_identifier.
Description: Changes a document's class in the content repository. WARNING: Changing a document's class can result in loss of properties if the new class does not have the same properties as the old class. Properties that don't exist in the new class will be removed from the document.
This tool ONLY changes the document's class and does NOT update any properties. To update properties after changing the class, use the update_document_properties tool.
:param identifier: The document id or path (required). This can be either the document's ID (GUID) or its path in the repository (e.g., "/Folder1/document.pdf"). :param class_identifier: The new class identifier for the document (required).
:returns: If successful, returns a Document object with the new class. If unsuccessful, returns a ToolError with details about the failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | ||
| class_identifier | Yes |