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
2
votes
2 answers

Update alfresco content type through chemistry OpenCMIS

I am trying to update the content type of files in alfresco through OpenCMIS. The CMIS workbench shows the type in the types windows, with as only disabled switch 'Policy controlable'. Its local name is document, queryname is prefix:document and…
Mark Tielemans
  • 1,528
  • 3
  • 20
  • 40
2
votes
1 answer

Create Relationship between two files (Alfresco CE 4.2.c) using CMIS

My model looks like this: I have two folders(HTMLs) & (Images). Tons of files are inserted inside images folder and small part of business use case I am trying to implement is that when client asks for say chapter1.html then all the associated…
Swan
  • 21
  • 1
  • 3
1
vote
1 answer

Alfresco: Stream is already closed

I am trying to create text document using apache-chemistry in alfresco. My code is for creating document is Document document = FileUtils.createTextDocument("/", "test.txt", "test document", BaseTypeId.CMIS_DOCUMENT.value(), VersioningState.MAJOR,…
deen
  • 2,185
  • 7
  • 29
  • 53
1
vote
1 answer

Apache Chemistry with https url not correct request

I'm using Apache Chemistry PHP client with local Alfresco repository with http protocol over 8080 and I can connect to the repo. However, when I try to use the same library over other Alfresco repository over https protocol (port 8443) I get this…
aivdev
  • 59
  • 7
1
vote
0 answers

Getting rid of CmisRuntimeException: Error: The server sent HTTP status code 401: Unauthorized

I am trying to connect to SharePoint 2013 using Apache Chemistry CMIS Web services binding. I have given valid WSDL url. Sometimes I am able to make a valid connection and perform CMIS operations. But sometimes I get the following exception trace…
1
vote
1 answer

Unable to upload docs greater than 37 MB through CMIS API in SharePoint 2013

My SharePoint 2013 version is 15.0.4569.1506. I am unable to upload a document greater than 37 MB in SharePoint through my below CMIS code. But Directly into SharePoint I am able to do so. I have also tried increasing my heap size/ cache limits. I…
1
vote
1 answer

How to get content of different versions of a document using CMIS API in SharePoint 2013

We have a document that has multiple (say 3) versions in SharePoint 2013 with version series ID 11275 and following ids for different versions : Version 1.0 - Document id is 11275-512 Version 2.0 - Document id is 11275-1244 Version 3.0 - Document id…
1
vote
1 answer

How to retrieve ACL in documentum 7.1 via CMIS

I need to set specific ACLs to documents, those ACLs are created like: PREFIX + ID and now I need to set X ACL to Y document, but I haven't found a way of how to query or retrieve any ACL, am I missing something here?
Alfredo M
  • 568
  • 3
  • 7
  • 26
1
vote
1 answer

Rolling back a transaction in apache chemistry cmis

I am creating a java application which will connect to alfresco repository and perform some operations. I am using apache chemistry cmis for doing these operations. If i encounter an error during these operations , how will i handle the rollback…
user2361591
  • 153
  • 1
  • 14
1
vote
1 answer

Download file with apache chemistry php client

I need to know what I've to do if I want to download a cmis:documento that I've in my repositorio with Apache Chemistry Php client. I've one file, "Test.txt" in Sitios space... I want download Test.txt with browser... My code: $client = new…
aivdev
  • 59
  • 7
1
vote
1 answer

Download file from Alfresco through Chemistry in PHP

I'm currently having a problem downloading a file from Alfresco through Chemistry. This is my code: // Create the session $repository = new CMISService($repositoryUrl, $userName, $password); $uuid = $_GET['uuid']; $contentData =…
1
vote
0 answers

OpenCMIS upload files with the same name

I am trying to implement an uploading functionality using OpenCMIS for C# and on OpenKM Server. I would like to allow uploading existing files in a specific directory, and having something like this: Filename, Filename(1), Filename(2), etc.…
user3026017
  • 569
  • 4
  • 10
1
vote
0 answers

CMIS / Chemistry / Alfresco: appending content failure recovery

I have to upload very large files (> 10 GB) to an Alfresco repository from a Java web application. Due to file size, I'd like to use a chunked upload (say 1 GB at time), using the appendContentStream action (CMIS 1.1), provided in Java by Apache…
Alessio Gaeta
  • 5,670
  • 1
  • 16
  • 26
1
vote
1 answer

How to transfer folder(which has child) from one repository to another using CMIS apche chemistry

I have two repository in IBM file content management and now I want to transfer folder (which has a child ) from one repository to another and also should be transfer their child using CMIS.
Vivek Gondliya
  • 308
  • 1
  • 2
  • 15
1
vote
0 answers

In my apache chemistry CMIS i got a conflict error while i am syncronize two document

This is my CMIS Sync code. String documentName = null; StringBuilder contentBuilder= new StringBuilder(); ByteArrayInputStream inputStream; byte[] buffer = null; session=getSession(sourceClientIbmNet); CmisObject…
Vivek Gondliya
  • 308
  • 1
  • 2
  • 15