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.
Questions tagged [opencmis]
277 questions
0
votes
1 answer
Check whether CMIS document can be modified by user
I have some code that downloads a CMIS document:
contentStream = remoteDocument.getContentStream();
What is the most efficient way to check whether the current CMIS user has write access to this document's data content or not?
Preferably without…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
Alfresco permissions see list of node content but deny download
Is it possible to set up a permissionsDefinition.xml in alfresco that is not allowing GROUP_USERS to download files but see the list of content?
I've tried to set the config like this in the .xml file.
This is the original definition of the Read…

Nico O
- 13,762
- 9
- 54
- 69
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
Simulating CMIS Atom API doesn't load the information properly
I was requested to simulate a CMIS Atom API for my company's content management using our API. but I'm stuck in what it seems to be something simple. So I'm trying to load the CMIS TCK, but for some reason the values of the responses doesn't make it…

aguilarsoto
- 25
- 7
0
votes
1 answer
CMIS Sharepoint 2013 - Cannot Update Document
I cannot update a document using CMIS for Sharepoint 2013. I keep getting an error "The operation is attempting to update an object that is no longer current." and I am stuck as to why that is.
Please can you check what is wrong with my code below:
…

LeneyBelle
- 63
- 1
- 5
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
Alfresco Java backed web-script lookup by cmis:objectId
I am writing my first java-backed webscript for Alfresco community edition. I am implementing document properties / preview service, and I take a parameter which is the cmis:objectId of the document in question. I'm having trouble getting started…

BrianV
- 105
- 7
0
votes
1 answer
GetContentChanges returns "Unauthorized"
I get ChangeLog changes from Alfresco 4.2.0 over DotCMIS+HTTPS like this:
string lastTokenOnClient = "1857698"; // actually updated using last token
boolean includeProperties = false;
int maxNumItems =…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
2 answers
Get the latest ChangeLog token with OpenCMIS/DotCMIS
I have some code that needs to know the latest ChangeToken, so I wrote:
session.Clear();
var token = session.RepositoryInfo.LatestChangeLogToken;
Unfortunately, it does not always return the latest token.
Example:
Start the session
Run the code…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
0 answers
conversion of cmisobject to json using java to perform operations in Alfresco Repository
I have a requirement where i need to convert the cmisobject retrieved from Alfresco repository into json. How do i go about it ?
Folder root = session.getRootFolder();
ItemIterable children = root.getChildren();
…

user2361591
- 153
- 1
- 14
0
votes
0 answers
Are parent-child relationships possible in OpenCMIS?
I need to create a relationship between documents like parent-child. Does OpenCMIS provide a direct way? What is the actual use of 'relationship'?
Here is my sample code for relationship. How do I fetch these relational documents (I mean by…

Arun M R Nair
- 653
- 7
- 30
0
votes
0 answers
Issues with adding/deleting local permissions to Alfresco?
I have been trying to add/delete local permissions for a file/folder in Alfresco using open CMIS with mix success. My tests are done on Alfresco 4.2f/5.0a with Apache chemistry CMIS 0.10 on a mixture of Windows, *nix platforms.
When adding roles to…

net_j
- 205
- 2
- 9
0
votes
1 answer
Alresco CMIS multi aspect with same properties name
Here it is a short description of the situation:
I am declaring a new bean in a private Jar file to add two new Aspects to match Secondary Type feature from CMIS 1.1 specification.

Maximilien
- 3
- 2
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
Alfresco CMIS query return objectId that contains semi-colon and version
I'm using alfresco 4.2 with OpenCMIS java client library CMIS 1.1.
String serviceUrl = "http://URL/alfresco/api/-default-/public/cmis/versions/1.1/atom"; // Uncomment for Web Services binding
// default factory implementation
…

Grégory
- 1,473
- 1
- 17
- 28