Questions tagged [apache-chemistry]

Apache Chemistry is an open source implementation of the CMIS content management interchange standard

Apache Chemistry provides open source implementations of the Content Management Interoperability Services (CMIS) specification.

This tag should be used for questions around using the CMIS client libraries (in Java, .NET, Python or PHP), or for questions around using and embedding the Java server library in your application.

For more general CMIS related queries, the CMIS tag should normally be used.

105 questions
0
votes
1 answer

Create a new version of a document if document already exists in Alfresco using Chemistry CMIS

I am trying to create a document using Chemistry CMIS as shown below final Map reportProps = new HashMap(); reportProps.put(PropertyIds.OBJECT_TYPE_ID, "cmis:document"); …
user2361591
  • 153
  • 1
  • 14
0
votes
1 answer

Getting CmisUnauthorizedException: Unauthorized error while iterating Query Result

I am able to successfully establish a connection between my java based app and SharePoint 2013 using CMIS. Everything works fine. I am running a CMIS Query. The first time the session is created and I run the query it works fine. But when I run the…
0
votes
0 answers

How to get rid of CmisConstraintException on calling cancelCheckOut() on a document via CMIS API

I have a checked out document in SharePoint 2013 with version : 11274-2048. Every time I call doc.cancelCheckOut() using the CMIS API, I am getting below exception…
0
votes
0 answers

MustUnderstand headers Error trying to get session in Apache Chemistry

I'm trying to get a session with Apache Chemistry, and it throws me this exception: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Error: MustUnderstand…
Alfredo M
  • 568
  • 3
  • 7
  • 26
0
votes
1 answer

Try Apache Chemistry CMIS PHP Client

I'm very confused because I've tried to connect to alfresco cmis repository with Apache chemistry PHP library, but when I try from console: php -f cmis_ls.php http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom admin admin /…
aivdev
  • 59
  • 7
0
votes
1 answer

getting CmisInvalidArgumentException: Extensions tree too wide! while using apache chemistry opencmis

I am a newbie to Apache Chemistry openCMIS. I am trying to pull a PDF document from the Alfresco repository using its Id. The id is something similar to workspace://SpacesStore/b91dc42c-1644-4246-b3x9-bxx6f0be4wf3 CmisObject object =…
Sree
  • 921
  • 2
  • 12
  • 31
0
votes
1 answer

Random failures using CMISQL queries on Alfresco 3.3.0

[Solved, it seems that there was some bug affecting Alfresco 3.3.0, which is no longer present on Alfresco 3.3.0g] Hi, I'm using OpenCMIS to retrieve data from Alfresco 3.3, but it's having a very weird behaviour on CMISQL queries. I've googled…
AJPerez
  • 3,435
  • 10
  • 61
  • 91
0
votes
1 answer

Meaning of AllowableActions in Apache Chemistry

I can't seem to find any proper explanation of the members of org.apache.chemistry.opencmis.commons.enums.Action. E.g. the CMIS spec has three definitions for canMoveObject in sec. 2.1.12.3.2.2 which one does CAN_MOVE_OBJECT refer to? Anybody got a…
Friso
  • 1,080
  • 6
  • 37
0
votes
1 answer

Alfresco CMIS service to index document

I have uploaded document to Alfresco using Apache Chemistry php client. The documents is uploaded successfully but (I think it is not indexed), content based search is not working on this document. whereas If I upload the same document from alfresco…
Ali Nawab
  • 85
  • 1
  • 8
0
votes
1 answer

CMIS - Searching list properties

With CMIS I can add a property to an object. The property can have one value or it can be a multi-value property. When you have a multi-value property on a number of objects, how do you search for all objects that has this property and the property…
user54808
0
votes
1 answer

org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Unexpected document! Received: Atom Entry

Im trying to create a client application connmecting to Sharepoint 2013. Im receiving this kind of exception, seems the response cant be parsed by the library i used which is chemistry cmis library. Below is my code: public Session fillParams()…
bbd224
  • 59
  • 2
  • 12
0
votes
2 answers

How to execute query using PHP CMIS client?

I want to execute a simple query using the PHP CMIS client I got from the Apache Chemistry page. As a proof of concept I figured that the following code should have worked as expected:
Kross
  • 305
  • 3
  • 21
0
votes
2 answers

Setting up OpenCMIS InMemory Repository

I´m trying to set up the OpenCMIS InMemory Repository following the instructions from Apache but I keep getting the following error when running the maven command mvn clean install -Dmaven.test.skip=true: [INFO] 4 errors [INFO]…
carcaret
  • 3,238
  • 2
  • 19
  • 37
0
votes
1 answer

Apache Chemistry - Java: Random "Unauthorized" exception when uploading documents to SharePoint 2010

I have a service which connects from Lotus Notes to SharePoint 2010 and uploads pdf documents. I have noticed when running larger job of ~14 000 documents that "Unauthorized" exception is thrown every 5 - 10 minutes which forces my code to stop and…
Brlja
  • 364
  • 3
  • 14
0
votes
1 answer

Versioning the CMIS metadata

I am using the standard CMIS from Apache Chemistry and I want to know if there is any way to version the metadata of the documents and folders. Is this possible?
cezar
  • 31
  • 4