Problem while reading custom attribute values from work item
Hi,
We can fetch custom attributes values with below code using RTC client libraries: for (IAttributeHandle attribute1 : customeAttributes) { but when using the service side RTC services we can't fetch the same custom attribute values (except custom atrribute "Product Team Name") , below is our server side code:
Is any one has any information/solution on this issue? |
4 answers
Is any one has any information/solution on this issue? In general, you have access to the same core API on the server and the client. Could you elaborate more specifically on what didn't work? On a side note, I would keep the code free of references to attribute display names. They can change. I'd use the attribute identifier instead. -- Regards, Patrick RTC Work Item Component Lead |
Is any one has any information/solution on this issue? In general, you have access to the same core API on the server and the client. Could you elaborate more specifically on what didn't work? On a side note, I would keep the code free of references to attribute display names. They can change. I'd use the attribute identifier instead. -- Regards, Patrick RTC Work Item Component Lead Hi Patrick Thanks for your information. As mentioned earlier I can fetch the values of all the custom attributes using client side API's but can't fetch the same custom attribute values from the server side operation participant with the code given earlier. Now I tried to get the values using attribute identifier as suggested by you and below is the my code:
This code just print "we are in -----------> for loop" but does not print the values of cutom attributes. |
Hello,
Im trying to getValue of Approvals's attribute but I obtained "" (empty string) when my workItem has text in this field. The WI is of type Component. Im trying this in the server side, RTC v 3.0.1, here is my code:
result and result2 are both empty strings. Any idea? mnka |
Hello, Hi, if anyone needs it this is how I do it and it works just fine:
Zbynek |
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.