Quantcast
Channel: Alfresco Forums - Alfresco API
Viewing all articles
Browse latest Browse all 252

Update aspect cm:taggable

$
0
0

Hi, i'm new with Alfresco.
I'm developing a c# software to write some documents into an Alfresco repository.

I'm using dotCMIS library to create documents.

I'm able to set some aspect properties like cm:title, cm:description, cm:author with a code like this:

private static ExtensionsData CreateData(string description)
{
ExtensionsData data = new ExtensionsData();
data.Extensions = new List();
CmisExtensionElement element = new CmisExtensionElement
{
Name = "alf:setAspects",
Namespace = "http://www.alfresco.org",
Children = new List
{
new CmisExtensionElement
{
Name = "alf:properties",
Namespace = "http://www.alfresco.org",
Children = new List
{
new CmisExtensionElement
{
Name = "cmis:propertyString",
Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/",
Attributes = new Dictionary
{
{"propertyDefinitionId","cm:description"},
{"displayName","Description"},
{"queryName","cm:description"}
},
Children = new List
{
new CmisExtensionElement
{
Name = "cmis:value",
Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/",
Value = description
}
}
}
}
}
}
};
data.Extensions.Add(element);

return data;
}

But I don't reach to write into the document some TAGS...
I'm able to set the propetrie c:taggable, but not to set his value (tags are atring array).

IS IT POSSIBLE TO CREATE A DOCUMENT IN ALFRESCO WITH SOME TAGS?

Thank you

Regards.

4.2.f

Viewing all articles
Browse latest Browse all 252

Trending Articles