cmis

Error in calling CMIS Query if String contains single or double quote

旧城冷巷雨未停 提交于 2020-04-13 06:42:06
问题 Here's my problem: When I try to pass a query string in CMIS Query that contains single or double quotes it doesn't execute and gives an error as below: 06:19:23,306 ERROR [DispatcherPortlet:561] Could not complete request org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Internal Server Error at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:506) at org.apache.chemistry.opencmis.client

See if Alfresco Server is available

拟墨画扇 提交于 2020-01-17 06:21:31
问题 I am working with Alfresco and sometimes the server is down for low space or other problem , the thing is with my serverURL i want to check if he is available (Alfresco Server) i thought to make a ping but the adresse is to complexe for a simple ping ex : http://127.0.0.1:8084/alfresco/api/-default-/public/cmis/versions/1.0/atom I am working in a J2EE Project 回答1: Hi i want to say that the part of the answer where given by @Gagravarr public void pingADR() throws UnknownHostException,

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

CmisUnauthorizedException: Unauthorized - error using Apache Chemistry library interfacing to Sharepoint 2013

▼魔方 西西 提交于 2020-01-14 03:30:09
问题 I'm having concern connecting to Sharepoint 2013 via CMIS using Apache Chemistry library. I am receiving Unauthorized error , but the credentials (U/P) I used are correct. I used it to login to the Sharepoint Online so it should be working on my code. Hope someone could help me solving this. Thanks! See my code below I am using to create a session to Sharepoint: public Session fillParams() {//define some values for the connection string String rest_base = "http://<server>/sites/_api/web/";

cmis or web scripts use?

北城以北 提交于 2020-01-11 10:32:09
问题 I want to build a JavaEE GED application using alfresco and activiti Workflow engine which manages and monitors the mail of an organization (Letter, Fax, mail etc.). Since I am new with alfresco I want to know the best way to communicate with alfresco in my case : the use of CMIS or web scripts (I'm building a third-party application ) . 回答1: I can suggest two solutions using Using the REST API or CMIS with a library like Apache Chemistry Apache Chemistry is very well documented and you can

Get if a user is in a specific alfresco site

随声附和 提交于 2020-01-07 03:01:45
问题 I am working in a JavaEE project and i want simply see if a user is a member of an private Alfresco site using CMIS. I need to see if the user is a member of this (private,public) Site and his current situation in this site. 回答1: You cannot easily do this with CMIS alone. But you can use the SiteService because it has an isMember method. This would only work if your code is running in the same process as Alfresco (like in an action, behavior, or web script). If you are running code in a

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