opencmis

Alfresco openCMIS connect to home folder

◇◆丶佛笑我妖孽 提交于 2020-01-17 02:36:15
问题 In Alfresco I have this structure /Company Home/A and /Company Home/B some users home folders are set to A and others set to B. Problem: I see that in order to connect from my application to Alfresco though OpenCMIS, I need connect there using the repositoryId, aka MainRepository(Company home), so I need give all users from A and B permissions to connect to there. So that´s means that if a users from A connect to Alfresco, they can read documents from B, and the other way around. I was

Change the version manually of a Document in Alfresco using OpenCmis

浪尽此生 提交于 2020-01-14 10:25:28
问题 I want to know how can we change the Document Version Manually in Alfresco using OpenCmis? As of now when i update the document, every time alfresco change the version itself but I want to change version from user input like 1.0,2.0, 2.1 etc. For Eg. document.txt 1.0, document.txt 1.1 Instead of document.txt 1.1 i want to place version 2.3 回答1: There's no way to accomplish your goal under CMIS. The spec mandates all versioning properties on a cmis:document to be read only, and the only way to

How to retrieve 'repository root' id/children from CMIS repository?

霸气de小男生 提交于 2020-01-07 02:51:08
问题 I am using the openCMIS library against a cmis 1.0 compliant server and I noticed that whenever I call getRepositories on the server (an alfresco v3.2 & v5.0 server) I only receive a list with one repository as opposed to what I was expecting, i.e. the list of roots on the server. How do I retrieve the list of repository roots using the opencmis library? EDIT I inappropriately phrased the question so I will explain better. What I would like to do is to be able to get the actual repository

How to get case insensitive cmis:folder search query

女生的网名这么多〃 提交于 2020-01-06 18:47:50
问题 stmt = session.createQueryStatement("SELECT * FROM cmis:folder WHERE IN_TREE(?) and cmis:name=?"); stmt.setString(1,'sites/test/documentLibrary'); stmt.setString(2,'Test'); I got result with exact folder name(Test) case senstive, but If i gave foldername test or TEST result not found. Could you please help me on case insenstive folder search. 回答1: The CMIS QL does not support case insensitive queries because many repositories can't provide it. Depending on the repository and the repository

CMIS support for Sharepoint and OneDrive

走远了吗. 提交于 2020-01-06 04:33:36
问题 I would like to have a quick info whether Microsoft Sharepoint and OneDrive has CMIS support ? If not which will be the best library to integrate Sharepoint and OneDrive using Java ?! Please help 回答1: Microsoft SharePoint on premise (2010 & 2013) supports CMIS for searching documents though limited to library level. But I have doubts regarding OneDrive files. Though OneDrive is hosted as SharePoint MySite, these documents are not accessed through SharePoint library. Follow this link to know

Documentum cmis restful integration with android?

喜你入骨 提交于 2019-12-24 20:27:18
问题 I want to implement documentum cmis restful api with android. So where i can get all the materialsand learn about it . I am very new to this and want to understand documentum and cmis restful api. So that i can integrate with android. 回答1: Your starting point for CMIS should be the CMIS specification. http://docs.oasis-open.org/cmis/CMIS/v1.1/CMIS-v1.1.html Then the implementation of CMIS specification in Chemistry project https://chemistry.apache.org/ There is a specific Android client for

Login error to Sharepoint 2013 repository using openCMIS Workbench

谁说胖子不能爱 提交于 2019-12-21 21:39:43
问题 using the OpenCMIS Workbench 0.8.0, I can load the sharepoint 2013 (GA) repositories fine but get the following error when I try to login to one of the repositories such as Documents: "Invalid Argument: One or more of the input parameters to the service method is missing or invalid" Found a blog with some instructions but those didn't work for me: http://dhartford.blogspot.com/2013/01/sharepoint-2013-w-apache-chemistry-cmis.html?showComment=1359398536275#c6910049622927723676 Note: Here is the

How to filter folder children using cmis query?

纵然是瞬间 提交于 2019-12-20 06:06:05
问题 I would like to filter the children of folders from a cmis 1.0 compliant repository with one query. So far that doesn't seem to be possible so I have settled to execute two queries to retrieve the children (i.e. folders and documents), however would still like to filter children by custom types so I have the following query: SELECT cmis:objectTypeId, cmis:objectId FROM cmis:folder WHERE cmis:objectTypeId = 'my:custom1' OR cmis:objectTypeId = 'my:custom2' OR cmis:objectTypeId = 'cmis:folder'

CmisObjectNotFoundException when trying to access my Alfresco repository

↘锁芯ラ 提交于 2019-12-20 03:37:05
问题 I'm new with CMIS and Alfresco and I got this error when in try to connect to my Alfresco's repository using AtomPUB binding. I have no idea about the source of my problem. Is it unless a functionality ? Is it my Credential ? When I install it, I choose only : - Alfresco community - Solr4 How should I do if I want to use web services ? Should I install a specific plugin in my Alfresco ? I got with error : SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C

How to create custom property on object using Apache Chemistry

☆樱花仙子☆ 提交于 2019-12-13 19:03:57
问题 I'm working with a local instance of Alfresco CMS and I'm using the Apache Chemistry Java CMIS. Everything works well for browsing and creating objects, however I'm having a hard time adding metadata on documents. There is an example on their source page code saying that you need to call updateProperties on the CmisObject . Unfortunately, this doesn't work, the exception I got stating: Property 'my:property' is not valid for this type or one of the secondary types Do you know how can I add a