How to get the value of a custom attribute in RTC 3.0.1.3
Hi ,
I'm using RTC 3.0.1.3. How can I get the value of a custom attribute? I followed the tutorial on the wiki https://jazz.net/wiki/bin/view/Main/AttributeCustomization, but I'm getting an error. I added the parameter in the Process Configuration Source <parameters crNumberId="cr"/> // cr is the attribute id And used the following script to get the value of the custom attribute: var crId = configuration.getChild("parameters").getStringDefault("crNumberId", ""); return workItem.getValue(crId); I got the following error: Error executing script myfilename.js Thanks! Alicia |
2 answers
Hello Alicia,
I have the same code and it works for me !!! So, I think you have perhaps an error in the ID of your parameter in the Process Configuration Source ... Or you have forgotten to put to true the boolean " Comments
Alicia McPherson
commented Jun 19 '12, 3:53 p.m.
Thanks Mathieu! I was able to get it to work last week. Thanks again! |
Ralph Schoon (63.5k●3●36●46)
| answered Jun 19 '12, 3:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Alicia,
have you switched the scripting on in the CCM advanced attributes? Comments
Alicia McPherson
commented Jun 19 '12, 3:54 p.m.
Thanks Ralph! I finally got it to work last week. |
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.