Copy contributer attrubute value into string type attribute using javascript in RTC
One answer
Please see https://jazz.net/library/article/1093 for an overview how Attribute Customization works. You likely want to use a calculated value.
https://jazz.net/library/article/1003 might be interesting as well.
Comments
Hi Ralph, I have created three custom owned by attribute
By default owned by attribute value copied into string type attribute,but for custom contribute type value didn't copy(owner name)into another string attribute,it get only UUID but I want to copy label
Use workItem.getLabel() ( see https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript )
Note: complex items such as IContributor are not really supported as mentioned in that wiki, so there is a lot of information you will not be able to get at. Also note that List type attributes are not really supported in JavaScript either.