IBM Content Navigator, Version 2.0.3
Supports:
CMIS for Content ManagerLibraries are the starting points for collaboration in some client applications, and contain documents and folders. You can create a library by using the LibraryCreate tool.
Making a folder into a library adds information, such as a default document type to use when a user adds a document to a folder without specifying a document type. You can either map a library to a new empty folder to create a new empty library, or map it to an existing folder in the system. Unless your system already has existing folders that can be used as libraries, you might want to create empty libraries for various collaboration projects and teams.
CMIS users can configure their CMIS root folder so that it hides all or part of these libraries. By default, the cmpathservice.properties file is configured as cmisRoot = /cmRoot. This configuration causes the CMIS root folder to point to /cmRoot. As a result, the users see a subfolder of the root folder that is called default group, and a subfolder of the default group folder that is called default library.
CMIS users with a default configuration can create documents in the /default group/default library folder or its sub folders. You can also hide the two folders by setting: cmisRoot = /cmRoot/default group/default library. As a result, the CMIS folder is mapped to /cmRoot/default group/default library path, and users can create folders and documents directly without seeing the default group/default library folder. If you create other libraries, you can map them to the CMIS root in the same way.
You can also map the CMIS root to Content Manager EE folders under libraries. For example, to map a folder that is named MyCMISRoot to the CMIS root folder, specify: cmisRoot = /cmRoot/default group/default library/MyCMISRoot. In this case, documents and folders that are contained in the MyCMISRoot folder are in the IBM CMIS for Content Manager root folder.
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.LibraryCreate -? or java com.ibm.content.cm.tools.LibraryCreate -help.
To run the LibraryCreate tool:
| Operating system | Code sample |
|---|---|
| Linux and UNIX systems | ./configure-repository.sh LibraryCreate |
| Windows | configure-repository.bat LibraryCreate |
java com.ibm.content.cm.tools.LibraryCreate -r calvin -u icmadmin -p Passw0rd
-o SCHEMA=ICMADMIN -g myLibGrp -l MyLib -t MyLib -d MyDesc -a PublicReadACL
-i CmisDocument -z true -b false -f /cmRoot/default group/repository root/
folder1/folder2