Wiki source code of CMIS-Plugin


Hide last authors
jdr 2.7 1 [[**Plugin-Download**>>url:https://customer.formcycle.eu/index.php/apps/files/?dir=/FORMCYCLE%20-%20Plugins%20Customer/CMIS%20DMS%20System%20Anbindung%20(fc-plugin-cmis)&fileid=54831||rel="noopener noreferrer" target="_blank"]] (erfordert Anmeldung)
jdr 2.6 2
jdr 2.1 3 {{info}}
jdr 6.2 4 {{version major="7" minor="4" patch="0"/}} The plugin requires at least formcycle version 7.4.0.
jdr 2.1 5 {{/info}}
6
jdr 6.2 7 With the fee required CMIS plugin you have the possibility to connect a document management system that has a CMIS interface. The scope of this plugin includes the creation of a connection and the creation of folders and documents via the interface.
jdr 2.1 8
jdr 6.2 9 == Configuration of the CMIS connections ==
jdr 2.1 10
jdr 6.2 11 After installing the plugin, logging out and back in to formcycle is required to see the menu item CMIS connections. The menu item CMIS connections offers the possibility to set up a connection for an existing CMIS interface.
jdr 2.1 12
jdr 6.2 13 === Connection settings ===
jdr 2.1 14
15 ; Name
jdr 6.2 16 : The name that the configured connection should have.
17 ; Connection type
18 : The connection type of the interface is the protocol of the interface that is used for data transmission.
19 The 3 available options are:
jdr 2.1 20 - AtomPub
jdr 6.2 21 - Web service (SOAP)
22 - Browser (access via the HTTP methods GET and POST in the format JSON)
jdr 2.1 23 ; Server URL
jdr 6.2 24 : The URL under which the interface to be connected can be reached.
25 ; Repository ID
26 : The ID of the repository to be addressed. This setting is only relevant if there are several repositories under one server URL. Can be left blank in most cases.
27 ; Connection parameters
28 : Additional parameters that are relevant for the connection. These parameters are OpenCMIS connection parameters.
jdr 2.1 29
jdr 6.2 30 === Authentication ===
jdr 2.1 31
jdr 6.2 32 ; Authentication type
33 : Specifies how the authentication should take place.
34 The available types are:
35 - None
jdr 2.1 36 - Basic Auth
jdr 6.2 37 - Bearer Token
38 ; User Name and Password
39 : The username and password for Basic Auth.
40 ; Bearer Token
41 : The token for authentication via a Bearer Token.
jdr 2.1 42
jdr 6.2 43 === Proxy settings ===
jdr 2.1 44
jdr 6.2 45 ; Use proxy
46 : Specifies whether the connection should only take place via a proxy server.
47 ; Proxy host
48 : The URL under which the proxy server is located.
49 ; Proxy port
50 : The port under which the proxy server is located.
51 ; User name and password
52 : If the proxy requires authentication via Basic Auth, the credentials can be entered here.
jdr 2.1 53
jdr 6.2 54 It is also possible to test the configured connection against the interface. However, this is only possible if all fields relevant for the connection have been filled in. The server URL and the configuration of the authentication are basically relevant here. Furthermore, if a proxy is to be used, its configuration is necessary accordingly.
jdr 2.1 55
jdr 6.2 56 == Workflow action ==
jdr 2.1 57
jdr 6.2 58 The configured CMIS connections can now be used in the workflow action Create CMIS object. The action makes it possible to create folders and documents on the DMS which has a CMIS interface.
jdr 4.1 59
jdr 6.2 60 === Object settings ===
jdr 4.1 61
jdr 6.2 62 ; Object type
63 : Specifies the base type of the object. The supported types are folder and document.
64 ; Object type ID
65 : Specifies the identifier of the object type to be used. If no specific identifier is specified, the base identifier of the object type is taken (documents: "cmis:document", folders: "cmis:folder").
66 ; Object name
67 : The name of the object to be created. If it is a document and nothing is specified for the object name, the file name is used for the object name. For folders the default value is "output".
68 ; Destination folder path
69 : The path under which the object is to be created. E.g.: "/examplefolder1/examplefolder2", for the source folder either "/" or no entry can be made. When specifying a destination folder path, make sure that the path used allows folders or documents to be stored or whether the permissions are available on the CMIS interface.
70 ; Object properties
71 : Further properties that are to be defined for the object. Each property can have a special data type, which is defined by the CMIS interface (see [[here>>https://chemistry.apache.org/docs/cmis-samples/samples/properties/index.html]]). The data type can be selected via the selection. If the data type is //DATETIME//, it is important that the transferred values for the respective property and for all other properties of the type //DATETIME// have the same and correct date format. The standard format here is //dd.MM.yyyy// (e.g. 26.04.2023). If the values passed are a different date format than the default value, it can be entered in the date format input field. The syntax for formatting is described in detail in the documentation for [[Java DateTimeFormatter>>https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/format/DateTimeFormatter.html]].
jdr 4.1 72
jdr 6.2 73 === Possible errors ===
jdr 2.1 74
75 ; CONNECTION_FAILED
jdr 6.2 76 : The attempt to establish a connection failed.
jdr 2.1 77 ; FILE_SYSTEM_ERROR
jdr 6.2 78 : There was an error receiving the file.
jdr 2.1 79 ; INVALID_PATH
jdr 6.2 80 : The specified path is invalid. Returns the path segment that caused the error.
jdr 2.1 81 ; AUTHENTICATION_FAILED
jdr 6.2 82 : It was not possible to authenticate on the interface.
jdr 2.1 83 ; NOT_AUTHORIZED
jdr 6.2 84 : The authorisation for the interface is not sufficient.
jdr 2.1 85 ; REPOSITORY_NOT_FOUND
jdr 6.2 86 : If a repository was specified by the repository ID, it could not be found.
jdr 2.1 87 ; TYPE_NOT_SUPPORTED
jdr 6.2 88 : The type specified by the Object Type ID field is not supported by the interface.
jdr 3.4 89 ; OBJECT_PROPERTY_CREATION_FAILED
jdr 6.2 90 : An error occurred during the creation of an object property. This could occur, for example, if the data type is configured incorrectly.
jdr 3.7 91 ; OBJECT_CREATION_FAILED
jdr 6.2 92 : The creation of the object on the CMIS interface failed.
jdr 3.1 93
jdr 6.2 94 == Version history ==
jdr 3.1 95
jdr 3.7 96 === 1.2.3 ===
97
jdr 6.2 98 * Bug fixes in CMIS connection configuration interface
jdr 3.7 99
jdr 3.5 100 === 1.2.2 ===
101
jdr 6.2 102 * Selection of data types for object properties
jdr 3.5 103
104 === 1.2.1 ===
105
jdr 6.2 106 * Bug fixes
jdr 3.5 107
jdr 3.3 108 === 1.2.0 ===
109
jdr 6.2 110 * Selection of multiple files and repeated upload items in workflow action possible.
jdr 3.3 111
jdr 3.2 112 === 1.1.1 ===
113
jdr 6.2 114 * Add new role property for managing cmis connections
jdr 3.2 115
jdr 3.1 116 === 1.1.0 ===
117
jdr 6.2 118 * Database change for CMIS connection entities
119 * Bug fixes
jdr 3.1 120
121 === 1.0.0 ===
122
jdr 6.2 123 * Initial release