11-22-2017 02:46 AM
We am writing a utility to update a repeating attribute using DotCMIS. Is there a way to do that using DotCMIS?
Below is the C# code that I use for updating a single value attribute.
IDictionary<string, object> updateProperties = new <string, object>();
updateProperties["customtype:singlevalue"] = 5465456;
11-22-2017 01:36 PM
Can you ask or move this question to the Content Services forum? The Application Development Framework is about ADF (Angular, javascript, web client). Thanks.
11-22-2017 09:51 PM
Done, Thank you.
01-30-2018 05:12 AM
Its been a while since I posted this. Nevertheless, this might be useful for someone who is looking for solution for similar requirement.
I managed to achieve this by storing multiple values in a list and then updating it. Please find the code below.
IDictionary<string, object> updateProperties = new Dictionary<string, object>();
IList<string> newValues = new List<string>();
newDocOwners.Add("value");
newDocOwners.Add("value1");
updateProperties.Add("cmisroperty", newValues );
Explore our Alfresco products with the links below. Use labels to filter content by product module.