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;
Can you ask or move this question to the Content Services forum? The Application Development Framework is about ADF (Angular, javascript, web client). Thanks.
Done, Thank you.
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 );
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.