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
1 answer
Unable to create folder in repositry through CMIS
I am new to this and trying to create folder in repositry, but it is showing some exception.Help me out wtih this thanks in advance.
Here Is my code
SessionFactory sessionFactory = SessionFactoryImpl.newInstance();
Map parameter…

Ashish yadav
- 97
- 1
- 11
0
votes
1 answer
How to use "RowNumber()" in a query using PortCMIS?
I'm working in a project using the Apache Chemistry PortCMIS. The project is alredy developed, but i'm gonna make a new improvement and a don't experience with that.
I need to list documents from a specificy range of lines, to paging.
It's like de…

Vinicius Roberto
- 5
- 2
0
votes
1 answer
dotCMIS Authentication with Ticket
dotCMIS supports both Basic and NTLM authentication.
I am currently using dotCMIS to connect to Alfresco using Basic Authentication.
I'd like to authenticate once with user/password for the sessions and then use Alfresco tickets, rather than pass…

George Hernando
- 2,550
- 7
- 41
- 61
0
votes
0 answers
How to retrieve a list of document names linked to a given index in apache chemistry opencmis
I was trying to retrieve a list of document names linked to a given index id (in my example "index-80") with the code below:
Note: The code below uses .Net but I can use java too.
IObjectId id = session.CreateObjectId("index-80");
IFolder…

John Casablanca
- 79
- 1
- 8
0
votes
1 answer
Strange timeout issues with Alfresco
DotCMIS calls stop responding after I've fetched any two documents out of 5 document.
I have checked the logs on the Alfresco server and there is nothing at all related to the failed calls.
I have debugged to identify the timeout .
// define CMIS…

coder
- 23
- 1
- 9
0
votes
1 answer
How to add Custom properties in Alfresco using dotCMIS 1.0 for Visual studio2010
I am working on ALfresco using dotCMIS with Visual Studio 2010. When I try to add a new document the system will accept only few properties like the below ones only.
properties(PropertyIds.ObjectTypeId) = "cmis:document"…

Ramalingareddy Alla
- 11
- 2
0
votes
1 answer
Change Log NULL records in CMIS Workbench - SharePoint 2013 SP1
Change Log show null records when using AtomPub
I am using CMIS Workbench 0.13.0 to connect to a SharePoint 2013 server (SP1) via:
AtomPub endpoint
i.e. http:///_vti_bin/cmis/rest?getRepositories
Web Service endpoint
i.e.…

SimplyInk
- 5,832
- 1
- 18
- 27
0
votes
2 answers
Custom properties on documents using DotCmis and OpenKM
Related to creating custom property using alfresco, I am trying to set custom property on a document using DotCmis and OpenKM and I receive the error: Property +'okp:contract.cups' is not valid for this type!
How can I set a custom property using…

user3026017
- 569
- 4
- 10
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
SessionFactory not found
I'm just starting using CMIS. I'm trying to get the first sample from the Apache site to work (https://chemistry.apache.org/dotnet/getting-started-with-dotcmis.html) but the compiler does not accept the SessionFactory. What am I doing wrong?
using…

Johannes Schacht
- 930
- 1
- 11
- 28
0
votes
1 answer
Download from the Alfresco to a local folder
I was try download a file from the Alfresco to a local folder with DotCMIS, but the file always save blank, my code:
ISession session = startSession();
IObjectId id = session.CreateObjectId(fileId);
Dictionary properties = new…

Jofre Barros
- 13
- 2
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
GetRepositories(parameters) throws CmisRuntimeException
Hi Everyone,
I'm currently trying to Connect to Alfresco (DMS), using DotCMIS/C#, so that I can create/locate/retrieve/archive files from it through my program.
Reference: https://chemistry.apache.org/dotnet/getting-started-with-dotcmis.html
Note:…

Curious_Asker
- 1
- 3
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
1 answer
"CmisObjectNotFoundException" when uploading a file to Alfresco
this is my scenario:
I'm trying to upload a file on an Alfresco (version 4.2.0 Community) using DotCMIS 0.6.
This is my code:
Dictionary properties = new Dictionary();
properties.Add("cmis:name", "name.pdf");
//other…

Albirex
- 283
- 1
- 2
- 13