0

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" 
properties(PropertyIds.Name) = txtDocTitle.Text

I want to add few more properties like Description, Client Name, DocID and Tag Name. How can I add custom properties on Alfresco using dotCMIS 1.0 for .NET appliction?

Hash
  • 4,647
  • 5
  • 21
  • 39

1 Answers1

1

It's possible, but rather cumbersome to handle properties of aspects with DotCMIS. Have a look at PortCMIS, the successor of DotCMIS (https://chemistry.apache.org/dotnet/portcmis.html). The API is pretty similar and it supports CMIS 1.1. Aspects are modeled as secondary types and setting secondary type properties is simple.

Florian Müller
  • 3,215
  • 1
  • 14
  • 11