You can extend, optimize, and enable document types and folder types with optional metadata extensions for better behavior and performance with some client applications. The document types that are enabled and optimized for CMIS support performance, scaling, and fields, such as name, title, and description. You can use the DocumentTypeEnable tool to determine and extend document types and folder types.
The DocumentTypeEnable tool checks for incorrectly enabled document types or folder types and prompts you correct the document types or folder types. If you confirm, the DocumentTypeEnable tool automatically corrects the document types to document types that are optimized for CMIS.
You can extend the document types and folder types to support the standard name attribute or label with indexes that are added by the DocumentTypeEnable tool. Your item type then becomes optimized for CMIS for behavior, performance, and scaling.
In an interactive mode, the tool prompts you for all required options. You can also run the tool in a silent mode by specifying the options and values. You can use either the single character or the full name of the option.
To display a list of available options, enter java com.ibm.content.cm.tools.DocumentTypeEnable -? or java com.ibm.content.cm.tools.DocumentTypeEnable -help.
To run the DocumentTypeEnable tool:
Client application fields | Content Manager EE attributes |
---|---|
Universal name | ICM$Name (Available in Content Manager EE version 8.4.3 fix pack 1 or later) |
Content standard metadata | Label (deprecated), title, description, authors, categories, effective date, Is Hidden, language, owners |
Data state | Current state |
Version | Version comments, version labels |
Client application archived details and original taxonomy | Date filed, filed by, source document type ID, library ID, path, place ID, server, UUID |
Operating system | Code sample |
---|---|
Linux or UNIX systems | ./configure-repository.sh DocumentTypeEnable |
Windows | configure-repository.bat DocumentTypeEnable |
java com.ibm.content.cm.tools.DocumentTypeEnable -r icmnlsdb -u icmadmin -p password
-o SCHEMA=ICMADMIN -f true -t MyDocumentType -a 1234 -force true -z true