How to update custom attribute via OSLC
We use oslc4Net for updating Work-items in RTC.
Custom attributes are different and we need your assistance to understand the way to update them. Maybe you can give an example in oslc4net. Thanks! |
2 answers
What differences of customer attributes did you notice? If you're aware of them, you should just treat them differently. As far as I know, the only difference is that custom attributes are in the name space "rtc_ext". The way to retrieve and update these attributes is no different from the "built-in" ones.
Comments Hi Donald, Yopur answewr helped me! I was wrong in the namespace : Why on get operation I get rtc_cm namespace and not rtc_ext? This is my code:
var d = new Dictionary<QName, object>(); d.Add(new QName("http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/", "msp_task_uniqeid", "rtc_ext"), "3333"); d.Add(new QName("http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/", "testme", "rtc_ext"), "3333"); changeRequest.SetExtendedProperties(d); Thanks!
Donald Nong
commented Jan 28 '15, 8:40 p.m.
If you meant that when you did the GET operation and got the custom attribute in the "rtc_cm" namespace, it sounds like a defect to me.
|
Hi Donald,
Thank you...This post helped me to set the custom attribute values programatically using Java.
Thanks,
Sujith
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.