Questions tagged [cmis]

Content Management Interoperability Services for talking to Content Repositories

Content Management Interoperability Services, abbreviated as CMIS, is an OASIS standard for communicating with Content Repositories using one of its RESTful, SOAP or JSON bindings. An introduction is available from the Apache Chemistry project (tag apache-chemistry)

This tag should be used for questions around using CMIS, building clients and servers on top of it, and understanding how things map onto CMIS concepts.

518 questions
0
votes
1 answer

copying/moving document in alfresco by changing its type

I am trying to upload a big file in alfresco, since this cause a problem with java.lang.OutOfMemoryError: Java heap space I decide to use ftp to upload the document in alfresco. Another problem is introduced with that; I can't create a document with…
LeTex
  • 1,452
  • 1
  • 14
  • 28
0
votes
1 answer

Alfresco+DotCMIS: Folder.GetChildren returns some duplicate items

When I run DotCMIS' Folder.GetChildren on an Alfresco server, I sometimes receive a few duplicate items, for instance: dir1 dir2 dir3 file1 dir4 dir5 file1 dir4 dir5 You can see that the last 3 items should not be present. Here is my code, and…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

Most efficient way to know the size of a remote CMIS folder

A CMIS folder can contain many sub-folders and documents, so they can be arbitrarily big. I would like to warn the user before downloading a folder. For instance: You are about to download 35TB. Are you sure? It would also be useful for a progress…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
3 answers

FileNet CMIS: Two repositories returned despite selecting one by id

I have a FileNet p8 server which contains 2 CMIS repositories: RepoA and RepoB. I would like to select one or the other using the RepositoryId session parameter, but I always end up with the 2 repositories: var cmisParameters = new…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

OpenCMIS/DotCMIS: I have CmisFolder and filename, how to get CmisDocument?

I want to get the CmisDocument of this CMIS remote file: server1/dir1/file1. I already have the CmisFolder for server1/dir1. I also have the filename "file1" as a string. Any elegant way to get the CmisDocument? Below is my very inelegant…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

how to check if querying the cmis repository returns empty

queryString = " ..." ; ItemIterable results = session.query(queryString, false); // this line simply fails, it doesn't throw an exception. for (QueryResult qResult : results) { // .... } Is there any way to…
LeTex
  • 1,452
  • 1
  • 14
  • 28
0
votes
1 answer

IBM Connections Files CMIS: Unable to find object at path /My Files

I am using DotCMIS with no problem to connect to Alfresco and FileNet. I registered for an IBM Connections account, added a few files via the web interface, and tried to connect to its CMIS endpoint…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

Alfresco CMIS, Bad filenames for download of files

I have a website that have an integration against an Alfresco installation through CMIS. The problem is that the content-url that I get from Alfresco is ugly. The major problem is that the filename is "content.xxx" (xxx-being the file-extension).…
0
votes
2 answers

OpenCMIS/dotcmis: How to find whether a server has a particular capability?

Using OpenCMIS (or dotcmis), after getting a Repository object from a repository, how to check whether it has a particular capability? For instance, whether CapabilityChanges is set to all.
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

DotCMIS/Alfresco: "error in XML document" when calling GetRootFolder

With DotCMIS I can successfully start a session to an Alfresco 4.0.1 CMIS server. But when I call session.GetRootFolder(), I get the exception below: Unhandled Exception: DotCMIS.Exceptions.CmisConnectionException: Parsing exception! --->…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

Standard URL format for CMIS? base URL + repository + local path

By an URL, is there a standard way to express the way to a subfolder of a given repository of a particular CMIS server? For instance: CMIS server: http://server/alfresco/service/cmis repository within this server: myrepo7 subfolder within this…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

Valid CMIS query

I work with Alfresco and OpenCMIS and want get folder and documents. Query: SELECT D.cmis:objectId, F.cmis:objectId FROM cmis:folder AS F JOIN cmis:document AS D WHERE IN_FOLDER('"+ folderId +"') AND cmis:name like '%name%'" but it doesn't work.…
archik
  • 455
  • 1
  • 5
  • 22
0
votes
1 answer

Setting up alfresco open-cmis-extension

I'm working on a Liferay portlet, that connects to an Alfresco Repository through Cmis and wsdl binding, (BINDING_TYPE = BindingType.WEBSERVICES) So far I've implemented most of the required functionality (Browsing, Folder/Doc management, doc…
yannicuLar
  • 3,083
  • 3
  • 32
  • 50
0
votes
1 answer

Create documents in CMIS

Could you tell me if there is any possibility to create documents which parent would be another document. ObjectId parentId = session.createObjectId(someDocumentStringId); session.createDocument(properties, parentId, stream,…
Heniek
  • 563
  • 2
  • 8
  • 17
0
votes
1 answer

CMIS: cache data on server side

I'm writing a CMIS interface(server) for my application. The server needs to load data from a database to process the request. At the moment I'm loading the same data for every request. Is there a common way to cache this data. Are cookies supported…
Mimefilt
  • 650
  • 9
  • 20
1 2 3
34
35