Questions tagged [opencmis]

Apache Chemistry OpenCMIS is a collection of Java libraries, frameworks and tools around the CMIS specification. The goal of OpenCMIS is to make CMIS simple for Java client and server developers. It hides the binding details and provides APIs and SPIs on different abstraction levels. It also includes test tools for content repository developers and client application developers.

277 questions
1
vote
1 answer

why and when sys:incomplete aspect is getting applied for content in alfresco repository?

I am migrating some contents from one alfresco 4.2 repository to other alfresco 5.2 repository using Apache chemistry Open CMSI API. I am also migrating some metadata from Old repository along with content and adding it as a aspect in new…
Deepak Talape
  • 997
  • 1
  • 9
  • 35
1
vote
1 answer

Unable to create cmis:document inside custom alfresco folder

I'm using open cmis to create folder (custom type) with attachments in Alfresco repository (5.1e). Folder is successfully created, but for creation of document (cmis:document - cm:content) as attachment I'm getting following exception: Caused by:…
1
vote
2 answers

Java OutOfMemoryError for opencmis method getdescendants(-1)

My goal is to get all the documents from an alfresco site with 100000 documents. I used OpenCmis libraries. My problem is that with this procedure I get a java.lang.OutOfMemoryError: Java heap space. The total size of all documents on the site is:…
G.Dileo
  • 121
  • 1
  • 6
1
vote
2 answers

How to build a zip file with a size of 400 GB in java

I need to download all the documents from an alfresco site that contains 400GB of documents. The code below is ok for create a small zip file (about 1GB) otherwise it takes too much memory. I would not like to keep ZipOutputStream in memory, i would…
G.Dileo
  • 121
  • 1
  • 6
1
vote
2 answers

Display a document without authentification

I am currently developping a java/jee application using alfresco as ged and spring as a framework.I want to display a file in the navigator without authentification requirment.So how can i do that.By the way i have 2 modules in my project:Frontend…
fbm fatma
  • 430
  • 6
  • 22
1
vote
1 answer

How to get custom type properties and custom aspect properties using CMIS(java)

I am querying alfresco repository documents from alfresco 4.2. and I am getting the document object successfully. But now I want fetch all the metadata associated with that document. I have some custom content types and some custom aspects Are…
Deepak Talape
  • 997
  • 1
  • 9
  • 35
1
vote
2 answers

OpenCmis query slower than apache cmis workbench

I' dooing pretty simple query SELECT cmis:objectId, cmis:name, cmis:parentId FROM cmis:folder ORDER BY cmis:name Running this query with apache cmis workbench take ~ 15 sec Running the same query with opencmis, is pretty quick, but going throught…
benzen
  • 6,204
  • 4
  • 25
  • 37
1
vote
4 answers

Not Able to get Alfresco 4.2 repository session in Java CMIS

I want to get session for Alfresco 4.2.1 Repository. But i am not getting below Exception Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot access…
Deepak Talape
  • 997
  • 1
  • 9
  • 35
1
vote
1 answer

How to migrate content from one alfresco repository to other using Open CMIS

I want to migrate all alfresco repository contents from one repository to other. but i don't want the existing folder structure. while migrating i have to validate the content according to some business requirement, and based on content type i have…
1
vote
3 answers

Is it possible to create a node in alfresco with a specific NodeRef?

I'm currently using openCMIS to create a node inside Alfresco. I want to specify that the newly made content uses a specific nodeRef id. For example: workspace://SpacesStore/6e619192-61c0-46fc-85c1-81badbb9b93e Currently I have this CMIS…
Kevin Groen
  • 918
  • 1
  • 8
  • 20
1
vote
2 answers

Which is better web script or cmis in alfresco

I am curently developing a java/jee application using Alfresco as ECM. I want to know what is the best way to communicate with alfresco in a Java/jee app.Which is better using the web script or cmis ?
fbm fatma
  • 430
  • 6
  • 22
1
vote
1 answer

OpenCmis client - create alfresco tags

I'm trying to create a script to upload docs into an Alfresco repository using the opencmis library (python). Uploading the actual document is fine, but I'm bending my brain on how to add tags to the document. I was thinking along the lines…
jkool
  • 21
  • 2
1
vote
1 answer

Check whether cmis:contentStreamFilename is Orderable

The CMIS 1.1 standard says at 2.1.4.3.3 that cmis:contentStreamFileName has a Orderable property which CMIS repositories can choose to set to true or false. As a CMIS client having a session on a particular repository, how to tell whether this…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
1
vote
3 answers

Alfresco CMIS fulltext query not working

I want to find documents on an Alfresco 5.0 system over CMIS by its content (fulltext). Following queries don't return anything: SELECT * FROM cmis:document WHERE CONTAINS('test') SELECT * FROM cmis:document WHERE CONTAINS(TEXT:'test') SELECT *…
enigma969
  • 397
  • 6
  • 21
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