Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
# Summary
The CMIS API project aims to provide a generic API for integrating with CMIS compliant Enterprise CMS (ECM) systems.
# Project URL
https://www.drupal.org/project/cmis
# Where is the code?
https://www.drupal.org/node/376359/git-instructions/8.x-1.x
# Estimated completion date
We expect to finish during Q1 2016
# Dependencies
None
# Who's doing the port?
Ruben Teijeiro (rteijeiro) - Tieto
# What help do they need?
Unknown
# D8 roadmap
Unknown
# Background and reference information
Unknown
Comment | File | Size | Author |
---|---|---|---|
#23 | remove-check-client-fix-get-content-stream-2608214-23.patch | 3.05 KB | terescode |
#14 | cmis_api-2608214-14.patch | 330.88 KB | dj1999 |
Comments
Comment #2
rteijeiro CreditAttribution: rteijeiro at Tieto commentedComment #3
mgiffordComment #4
stella CreditAttribution: stella at Annertech commentedAny update on this? We have a project that might need this module and if so, could potentially be able to help with a port.
Comment #5
mimran CreditAttribution: mimran as a volunteer commentedi was added a patch for cmis field module under this task as a sub-issue, yes i can also volunteer for this module
Comment #6
aschiwi CreditAttribution: aschiwi commentedIs there an update on the status of this project? What if we had an interest in porting this to Drupal 8 for a client project and ended up needing to do it ourselves? Would that be desired or is too much work already being done?
Comment #7
rteijeiro CreditAttribution: rteijeiro at Tieto commentedHi, sorry for my belated reply in this thread.
There are some people interested in having this module ported to Drupal 8. In my company we started to port it but the project was put on hold so sadly we haven't the opportunity to finish the job.
I think we should join efforts instead working separately. I have some contacts that probably will happy to help. How do you suggest we should move forward?
Comment #8
aschiwi CreditAttribution: aschiwi at undpaul commentedSame here, project was put on hold, so we currently have no use for it. We can get in touch with you if we end up needing the module, okay?
Comment #9
ageorge CreditAttribution: ageorge commentedJust wondering how far along this port to Drupal 8 is?
Comment #10
florisg CreditAttribution: florisg at 040lab commentedThere is an initial port, no routing configuration or compliant directory structure.
We're happy to collaborate
Comment #11
dj1999 CreditAttribution: dj1999 at Brainsum for Tieto commentedHi,
we started last week complete rewriting this module.
Use this client to communication: https://github.com/dkd/php-cmis-client
To install it you need (temporary) to module vendor folder copy this client and dependency:
- in command line go to cmis module root folder (eg. modules/cmis or modules/contrib/cmis)
- call command: composer require "dkd/php-cmis": "^1.0"
- enable module
- go to admin/config/cmis/connection/cmis_connection_entity create new configuration
- browse it click to Browse link.
Field:
- add field to your content type eg. admin/structure/types/manage/page/fields
- set the created config to field eg. admin/structure/types/manage/page/form-display
Unfortunatelly no more is ready yet.
I hope it is a good start to porting this module to Drupal 8.
Regards!
Joe
Comment #12
dj1999 CreditAttribution: dj1999 at Brainsum for Tieto commentedCreated wrong patch yesterday. Here is the correct. Or can use this sandbox repo: https://www.drupal.org/sandbox/dj1999/2801989
Comment #13
rteijeiro CreditAttribution: rteijeiro at Tieto commentedThanks for your patch @dj1999 but it doesn't apply. It seems the patch is also added to the patch.
Could you remove it and recreate the patch again, please?
Comment #14
dj1999 CreditAttribution: dj1999 at Brainsum for Tieto commentedSorry. Patch again.
Comment #15
rteijeiro CreditAttribution: rteijeiro at Tieto commentedFor all of you interested in this module. You can start to test it thanks to @dj1999: http://cgit.drupalcode.org/cmis/commit/?id=674bad1
Feel free to open new issues with your feedback so we can move the discussion to the module issue queue.
Comment #16
udaikumar26 CreditAttribution: udaikumar26 commentedHI,
Has the porting been completed? We are using drupal 8 to make a CMIS connection to alfresco. After adding the CMIS connection when i click on browse link,it goes to HTTP 500 internal server error with following exception thrown.
Got error 'PHP message: Uncaught PHP Exception Exception: "Php CMIS Client library is not properly installed." at /home/vcap/app/htdocs/modules/cmis/src/CmisConnectionApi.php line 94\n'.
Can you please suggest what to do.
Comment #17
udaikumar26 CreditAttribution: udaikumar26 commentedI have successfully tested the connection between drupal 8 and alfresco 5. I am able to browse the contents/documents and view its properties. I can also create a document or delete. However i don't see the ability to edit the content. Can we edit alfresco content from within drupal? Can we update a document?
Comment #18
udaikumar26 CreditAttribution: udaikumar26 commentedIs the porting to drupal 8 complete?
Comment #19
udaikumar26 CreditAttribution: udaikumar26 commentedAH01071: Got error 'PHP message: Recoverable fatal error: Object of class DateTime could not be converted to string in /home/vcap/app/htdocs/modules/cmis/cmis.module on line 179 #0 /home/vcap/app/htdocs/core/includes/bootstrap.inc(566): _drupal_error_handler_real(4096, 'Object of class...', '/home/vcap/app/...', 179, Array)\n#1 [internal function]: _drupal_error_handler(4096, 'Object of class...', '/home/vcap/app/...', 179, Array)\n#2 /home/vcap/app/htdocs/modules/cmis/cmis.module(179): implode(', ', Array)\n#3 /home/vcap/app/htdocs/modules/cmis/cmis.module(135): _cmis_get_property('my:publishedDat...', Object(Dkd\\PhpCmis\\DataObjects\\Property))\n#4
This error is thrown when trying to view properties of a custom content which has a date time field.
Comment #20
mmjvb CreditAttribution: mmjvb as a volunteer commented@udaikumar26 Please undo your last change. For support use the issue queue of the module itself. This issue is for the D8 port of the module.
Comment #21
udaikumar26 CreditAttribution: udaikumar26 commented@mmjvb i am not able to undo the change
Comment #22
mmjvb CreditAttribution: mmjvb as a volunteer commentedComment #23
terescode CreditAttribution: terescode commentedHere is a patch against the 8.x-2.x branch that fixes the following two issues. With this patch on top of the 8.2-2.x branch, I was able to successfully upload and browse documents using the modal CMIS browser with both the remote public Alfresco server and a local lightweightCmisServer.
Comment #24
GaëlGFor people trying to get version 2 with composer, see #2883917: Release 8.x-2.x.
Comment #25
hammadsaeed CreditAttribution: hammadsaeed commentedHi, Has the porting being completed?
If not then is there any alternate way to establish CMIS connection between Drupal 8.7 and Alfresco 6.2 GA in a dockerized installation?
Comment #26
GrimreaperHello,
The Drupal 8 version has a release now https://www.drupal.org/project/cmis/releases/8.x-2.0-alpha1
Regards,
Comment #27
mmjvb CreditAttribution: mmjvb as a volunteer commentedWith an alpha, Status is Needs review. Fixed is when there is a Stable released.
Comment #28
apaderno