Apache Chemistry DotCMIS is a client library for .NET applications to communicate with Content Repositories compliant to the Content Management Interoperability Services standard. It is loosely based on the Java OpenCMIS client architecture.
Questions tagged [dotcmis]
63 questions
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
1 answer
Create DotCMIS IContentStream from local file?
How to create a DotCMIS.Data.IContentStream object from a local file?
The tutorial only describes how to create one from a byte array in memory:
byte[] content = UTF8Encoding.UTF8.GetBytes("Hello World!");
ContentStream contentStream = new…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
dotCmis .CreateDocument with Sharepoint 2013
Good morning,
i need to create a bunch of documents with Apache chemistry dotcmis. However even in the most trivial case SharePoint triggers a CmisConstraintException when calling folder.CreateDocument. I have tested with all VersioningStates…

armin o
- 135
- 2
- 7
0
votes
1 answer
How to add aspects/extentions to Alfresco Folder and Documents using DotCMIS?
I had a working code using Java using this method for creating document and folders in alfresco using CMIS.
Folder.createFolder(
Map properties,
List policies, List addAce, List removeAce,
…

Jin Ginusuke
- 67
- 1
- 1
- 11
0
votes
1 answer
Alfresco CMIS: How to translate a ChangeEvent object id to a Document object id?
Context
In CMIS, a ChangeEvent tells me that an object has been deleted on the remote server, and that the objectId of this object is for instance workspace://SpacesStore/3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0 (real example of…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
How Can i associate an aspect and his property to a document in C# DotCmis Alfresco
I am working in a .net web application than need to be able to create documents in Alfresco and then associate a particular aspect and his prperties to those documents.
I created my aspect (nameModel.xml, name-model-context.xml all this files in the…

julio.aescobar
- 61
- 2
- 8
0
votes
2 answers
Do the latest DotCMIS still support CMIS 1.0 repositories?
I have always thought that DotCMIS supports both CMIS 1.0 and CMIS 1.1 repositories.
But now I am being told otherwise, that DotCMIS (by extension: CmisSync) does not support CMIS 1.0.
How is it actually?
Do recent versions of DotCMIS still support…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
How to modify a property of a CMIS document using DotCMIS/OpenCMIS
Let's say I have a document doc and I want to update its barcode metadata to "01234".
The document might have existing other properties, I don't want to lose them.
In case doc already has a barcode, it will be overwritten.
How to do this with…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
How to get the type of a document with DotCMIS?
With OpenCMIS, I would use mydoc.getType().
What is the equivalent with DotCMIS?
mydoc.GetType() does not work, because GetType is a method of Object in mscorlib.dll

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
How to know whether a CMIS property is modifiable?
I know how to read the properties of a CMIS Document.
But how to tell which property is modifiable, which property is read-only?
Using OpenCMIS/DotCMIS.
For instance, CMIS Workbench seems to know, because in its Property Editor, it only lists the…

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
DOTCMIS with Alfresco 3.1
I have Alfrsco 3.1 implementation. Can I use DOTCMIS.dll with this version? If yes, from where I can download the same?
Please reply asap.
Thanks,

user2243633
- 1
- 1
0
votes
1 answer
Setting properties (title, description) for document in Alfresco programmatically
I'm having some troubles adding metadata to a document that I am programmatically creating in alfresco.
I'm using dotCMIS library for this.
I have the following code:
IDictionary properties = new Dictionary

Alnedru
- 2,573
- 9
- 50
- 88
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
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
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